From d63d1141b648b2d2853396f6bd28a034e8f6b51d Mon Sep 17 00:00:00 2001 From: leeym Date: Sun, 8 Feb 2004 09:32:34 +0000 Subject: add USE_GCC=2.95 and unbreak this port. --- audio/quelcom/Makefile | 8 ++++++-- 1 file 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 -.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: -- cgit