aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdrdao
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-08-29 14:25:05 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-08-29 14:25:05 +0800
commit992f9e3247e73e59ccdf7490fe24185e2f75a7f5 (patch)
tree81c87aeee1a52af3d2b05007ddded17e958ac363 /sysutils/cdrdao
parent1729118facb11d981e127ac3672e6a2714e0aa68 (diff)
downloadfreebsd-ports-gnome-992f9e3247e73e59ccdf7490fe24185e2f75a7f5.tar.gz
freebsd-ports-gnome-992f9e3247e73e59ccdf7490fe24185e2f75a7f5.tar.zst
freebsd-ports-gnome-992f9e3247e73e59ccdf7490fe24185e2f75a7f5.zip
Move USE_NEWGCC and add -fpermissive to CFLAGS for the USE_NEWGCC case.
Submitted by: futatuki@debug.gr.jp
Diffstat (limited to 'sysutils/cdrdao')
-rw-r--r--sysutils/cdrdao/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/cdrdao/Makefile b/sysutils/cdrdao/Makefile
index 4ef56b1b05ec..22b827b9aa5f 100644
--- a/sysutils/cdrdao/Makefile
+++ b/sysutils/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