aboutsummaryrefslogtreecommitdiff
path: root/audio/adplay
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-09-03 12:38:24 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-09-03 12:38:24 +0000
commit67cf77b7a11f2333841fc359cf20cfa5577880ea (patch)
tree2644f0927671fd7949aa5f95d92e2a773bd75de8 /audio/adplay
parentfa72f107db8f59ecbedb187a2780723a42518ade (diff)
downloadports-67cf77b7a11f2333841fc359cf20cfa5577880ea.tar.gz
ports-67cf77b7a11f2333841fc359cf20cfa5577880ea.zip
Mark it BROKEN on 4.x, it depends on audio/libadplug
Notes
Notes: svn path=/head/; revision=172042
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