aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libadplug
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-09-03 20:37:44 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-09-03 20:37:44 +0800
commit2ffdac53ce0bfdb071ec7f0d3b497322e0650299 (patch)
treea58e6f0a8f451e2f40097c5126966a2bec2c9557 /audio/libadplug
parentabc0f7de289f800f84e85130411a6832301bfa9b (diff)
downloadfreebsd-ports-gnome-2ffdac53ce0bfdb071ec7f0d3b497322e0650299.tar.gz
freebsd-ports-gnome-2ffdac53ce0bfdb071ec7f0d3b497322e0650299.tar.zst
freebsd-ports-gnome-2ffdac53ce0bfdb071ec7f0d3b497322e0650299.zip
Mark it BROKEN on 4.x, it does not compile.
Diffstat (limited to 'audio/libadplug')
-rw-r--r--audio/libadplug/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/libadplug/Makefile b/audio/libadplug/Makefile
index 02f4683c867e..1c2cc3432b66 100644
--- a/audio/libadplug/Makefile
+++ b/audio/libadplug/Makefile
@@ -33,6 +33,12 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} ${CPPFLAGS}" \
INFO= libadplug
MAN1= adplugdb.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not build on 4.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -E 's#<(binfile.h|binio.h|binstr.h)>#<libbinio/\1>#' \
${WRKSRC}/adplugdb/adplugdb.cpp \
@@ -49,4 +55,4 @@ post-patch:
${WRKSRC}/Makefile.in \
${WRKSRC}/Makefile.am
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>