aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libtunepimp
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-04-10 18:41:06 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-04-10 18:41:06 +0800
commit15655c8d69ab835753ff8fadbcc2708eebe4ae0e (patch)
tree1014a99a4e0b8e6387a1b8f382fa90b65d67480d /audio/libtunepimp
parentfb249730005a0665114bb07db011a65dd2acb6b5 (diff)
downloadfreebsd-ports-gnome-15655c8d69ab835753ff8fadbcc2708eebe4ae0e.tar.gz
freebsd-ports-gnome-15655c8d69ab835753ff8fadbcc2708eebe4ae0e.tar.zst
freebsd-ports-gnome-15655c8d69ab835753ff8fadbcc2708eebe4ae0e.zip
Drop FreeBSD 4.x support
Notified by: pointyhat via kris
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>