aboutsummaryrefslogtreecommitdiff
path: root/audio/cdrdao/Makefile
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-29 06:25:05 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-29 06:25:05 +0000
commit481f889a5f1ee61cb0fe9a397fe7a308f8df6486 (patch)
tree613a98cce7bc72c1c4dddd611fae68c4bdcdb0de /audio/cdrdao/Makefile
parent7fcec2c928aedf7fcdad9429b59160e4870bf88e (diff)
downloadports-481f889a5f1ee61cb0fe9a397fe7a308f8df6486.tar.gz
ports-481f889a5f1ee61cb0fe9a397fe7a308f8df6486.zip
Move USE_NEWGCC and add -fpermissive to CFLAGS for the USE_NEWGCC case.
Submitted by: futatuki@debug.gr.jp
Notes
Notes: svn path=/head/; revision=21079
Diffstat (limited to 'audio/cdrdao/Makefile')
-rw-r--r--audio/cdrdao/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/cdrdao/Makefile b/audio/cdrdao/Makefile
index 4ef56b1b05ec..22b827b9aa5f 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