aboutsummaryrefslogtreecommitdiffstats
path: root/audio/quelcom
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-02-08 17:32:34 +0800
committerleeym <leeym@FreeBSD.org>2004-02-08 17:32:34 +0800
commitd63d1141b648b2d2853396f6bd28a034e8f6b51d (patch)
treecdd7768c41a095b1b8ffbc2a0119ddd49bd80a1e /audio/quelcom
parent5051da26de9421da562c194c6ae4b98e7f1c29b4 (diff)
downloadfreebsd-ports-gnome-d63d1141b648b2d2853396f6bd28a034e8f6b51d.tar.gz
freebsd-ports-gnome-d63d1141b648b2d2853396f6bd28a034e8f6b51d.tar.zst
freebsd-ports-gnome-d63d1141b648b2d2853396f6bd28a034e8f6b51d.zip
add USE_GCC=2.95 and unbreak this port.
Diffstat (limited to 'audio/quelcom')
-rw-r--r--audio/quelcom/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/quelcom/Makefile b/audio/quelcom/Makefile
index 281b0bd3570a..0b097fb7110a 100644
--- a/audio/quelcom/Makefile
+++ b/audio/quelcom/Makefile
@@ -17,6 +17,8 @@ COMMENT= A set of command-line utilities for MP3 and wave files
USE_GETOPT_LONG=yes
USE_GMAKE= yes
MAKEFILE= makefile
+USE_GCC= 2.95
+USE_REINPLACE= yes
MAN1= qmp3check.1 qmp3cut.1 qmp3info.1 qmp3join.1 qmp3report.1 \
qwavcut.1 qwavfade.1 qwavheaderdump.1 qwavinfo.1 qwavjoin.1 \
@@ -24,8 +26,10 @@ MAN1= qmp3check.1 qmp3cut.1 qmp3info.1 qmp3join.1 qmp3report.1 \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 500000
-BROKEN= "does not build on FreeBSD 5.x; cout.form cannot be used with GCC 3.x"
+post-patch:
+ ${REINPLACE_CMD} -e 's,g++,${CXX},g' ${WRKSRC}/src/makefile
+.if ${OSVERSION} >= 500041
+ ${REINPLACE_CMD} -e 's, -lgnugetopt,,g' ${WRKSRC}/src/makefile
.endif
do-install: