aboutsummaryrefslogtreecommitdiff
path: root/audio/libofa/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-05 02:54:41 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-05 02:54:41 +0000
commit7efbf99a783496920ef00e02df65d0f653624065 (patch)
tree50afcf32fdec2dfc6e9b37e3126769db835d3cf2 /audio/libofa/Makefile
parent25bed4163ad3321e6c0e72be06bf387cfcd5cb8e (diff)
downloadports-7efbf99a783496920ef00e02df65d0f653624065.tar.gz
ports-7efbf99a783496920ef00e02df65d0f653624065.zip
Notes
Diffstat (limited to 'audio/libofa/Makefile')
-rw-r--r--audio/libofa/Makefile8
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>