aboutsummaryrefslogtreecommitdiff
path: root/audio/libtunepimp
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-04-10 10:41:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-04-10 10:41:06 +0000
commiteabec9dd09dbfdfb3d6dc3e80528ea4cff4a3a4b (patch)
tree7ff4b784253e101dbfe0a24d90e09ceec96873b3 /audio/libtunepimp
parentb3ec61cadac0122300f4ac9bc63436514c28f6fc (diff)
downloadports-eabec9dd09dbfdfb3d6dc3e80528ea4cff4a3a4b.tar.gz
ports-eabec9dd09dbfdfb3d6dc3e80528ea4cff4a3a4b.zip
Notes
Diffstat (limited to 'audio/libtunepimp')
-rw-r--r--audio/libtunepimp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/libtunepimp/Makefile b/audio/libtunepimp/Makefile
index 33f9a3d266d9..fedf6f4da685 100644
--- a/audio/libtunepimp/Makefile
+++ b/audio/libtunepimp/Makefile
@@ -33,6 +33,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile on FreeBSD 4.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g ; \
s|^CPPFLAGS=|#CPPFLAGS=|g' ${WRKSRC}/configure
@@ -43,4 +49,4 @@ post-configure:
@${REINPLACE_CMD} -e 's|\(^LDFLAGS =.*\)|\1 ${PTHREAD_LIBS} -liconv|g' \
${WRKSRC}/examples/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>