diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-08-29 14:25:05 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-08-29 14:25:05 +0800 |
commit | 992f9e3247e73e59ccdf7490fe24185e2f75a7f5 (patch) | |
tree | 81c87aeee1a52af3d2b05007ddded17e958ac363 /audio | |
parent | 1729118facb11d981e127ac3672e6a2714e0aa68 (diff) | |
download | freebsd-ports-graphics-992f9e3247e73e59ccdf7490fe24185e2f75a7f5.tar.gz freebsd-ports-graphics-992f9e3247e73e59ccdf7490fe24185e2f75a7f5.tar.zst freebsd-ports-graphics-992f9e3247e73e59ccdf7490fe24185e2f75a7f5.zip |
Move USE_NEWGCC and add -fpermissive to CFLAGS for the USE_NEWGCC case.
Submitted by: futatuki@debug.gr.jp
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cdrdao/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/cdrdao/Makefile b/audio/cdrdao/Makefile index 4ef56b1b05e..22b827b9aa5 100644 --- a/audio/cdrdao/Makefile +++ b/audio/cdrdao/Makefile @@ -22,7 +22,6 @@ BUILD_DEPENDS= antlr:${PORTSDIR}/devel/pccts\ WRKSRC= ${WRKDIR}/cdrdao-1.1.2 -USE_NEWGCC= yes GNU_CONFIGURE= yes USE_GMAKE= yes MAN1= cdrdao.1 @@ -38,11 +37,16 @@ XCDRDAO= yes .endif .if defined(XCDRDAO) +USE_NEWGCC= yes LIB_DEPENDS+= gtkmm-1.0.5:${PORTSDIR}/x11-toolkits/gtk-- .else CONFIGURE_ARGS= --disable-gtkmmtest .endif +.if defined(USE_NEWGCC) && ${USE_NEWGCC} == yes && ${OSVERSION} < 400004 +CFLAGS+= -fpermissive +.endif + .if defined(DONT_USE_SCGLIB) && ${OSVERSION} > 300000 CONFIGURE_ARGS+= --without-scglib .endif |