aboutsummaryrefslogtreecommitdiff
path: root/audio/quelcom
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-02-08 09:32:34 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-02-08 09:32:34 +0000
commitec3568a0855813ba6ae1bbf63d2e8940187b9136 (patch)
tree55671d7ae6b7a97ef88e28ba2983a71843d74c39 /audio/quelcom
parent51b2694bc61c95efb00eb0d2d3b67b521bfbc490 (diff)
downloadports-ec3568a0855813ba6ae1bbf63d2e8940187b9136.tar.gz
ports-ec3568a0855813ba6ae1bbf63d2e8940187b9136.zip
add USE_GCC=2.95 and unbreak this port.
Notes
Notes: svn path=/head/; revision=100367
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: