diff options
Diffstat (limited to 'audio/libofa/Makefile')
-rw-r--r-- | audio/libofa/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/libofa/Makefile b/audio/libofa/Makefile index cf7ad4d51788..d77bdb0cc739 100644 --- a/audio/libofa/Makefile +++ b/audio/libofa/Makefile @@ -23,8 +23,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" INSTALLS_SHLIB= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= Does not build on FreeBSD < 5.x +.endif + post-configure: @${REINPLACE_CMD} -e "s|pcdir =.*|pcdir = ${PREFIX}/libdata/pkgconfig|g" \ ${WRKSRC}/Makefile -.include <bsd.port.mk> +.include <bsd.port.post.mk> |