1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

add USE_GCC=2.95 and unbreak this port.

This commit is contained in:
Yen-Ming Lee 2004-02-08 09:32:34 +00:00
parent 51b2694bc6
commit ec3568a085
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100367

View File

@ -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: