aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-09-03 12:37:44 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-09-03 12:37:44 +0000
commitfa72f107db8f59ecbedb187a2780723a42518ade (patch)
tree036596f4436c54ef388a1ab7659e484a76d4db72 /audio
parentb583668228cbee98a8290ffaca9f87dd73e40048 (diff)
downloadports-fa72f107db8f59ecbedb187a2780723a42518ade.tar.gz
ports-fa72f107db8f59ecbedb187a2780723a42518ade.zip
Notes
Diffstat (limited to 'audio')
-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>