aboutsummaryrefslogtreecommitdiffstats
path: root/audio/adplay
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-09-03 20:38:24 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-09-03 20:38:24 +0800
commit9f5443c02527f9882b47e37f867043c0266028f1 (patch)
tree5c4d9483fd2b246fab41b18f9eef6419908dcb29 /audio/adplay
parent2ffdac53ce0bfdb071ec7f0d3b497322e0650299 (diff)
downloadfreebsd-ports-gnome-9f5443c02527f9882b47e37f867043c0266028f1.tar.gz
freebsd-ports-gnome-9f5443c02527f9882b47e37f867043c0266028f1.tar.zst
freebsd-ports-gnome-9f5443c02527f9882b47e37f867043c0266028f1.zip
Mark it BROKEN on 4.x, it depends on audio/libadplug
Diffstat (limited to 'audio/adplay')
-rw-r--r--audio/adplay/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/adplay/Makefile b/audio/adplay/Makefile
index e117c6e78ab4..06bee6d1548c 100644
--- a/audio/adplay/Makefile
+++ b/audio/adplay/Makefile
@@ -47,15 +47,14 @@ OPTIONS= SDL "Build with SDL output support" off
USE_SDL= sdl mixer
.endif
+.if ${OSVERSION} < 500000
+BROKEN= depends on audio/libadplug
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|^\(adplug_data_dir.*\)/.*|\1|' \
${WRKSRC}/src/Makefile.in
-
-.if ${OSVERSION} > 500000
@${RM} ${WRKSRC}/src/getopt.h
-.else
- @${CP} ${FILESDIR}/getopt.h ${WRKSRC}/src
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/adplay ${PREFIX}/bin