diff options
author | grant <grant> | 2003-09-28 05:27:06 +0000 |
---|---|---|
committer | grant <grant> | 2003-09-28 05:27:06 +0000 |
commit | 1f42b8f43d590358c60aba8897e8d1e8c57640f4 (patch) | |
tree | a1321a66a6ac80025b8bf123f68c5ab03fa8b635 /x11/qt3-libs/Makefile.common | |
parent | a6996cd487c78d4c511103791d357c6c8a7e4137 (diff) | |
download | pkgsrc-1f42b8f43d590358c60aba8897e8d1e8c57640f4.tar.gz |
only pass gcc specific flags if we are using gcc.
Diffstat (limited to 'x11/qt3-libs/Makefile.common')
-rw-r--r-- | x11/qt3-libs/Makefile.common | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/qt3-libs/Makefile.common b/x11/qt3-libs/Makefile.common index 6ba6dfc0d64..a2f76d79f31 100644 --- a/x11/qt3-libs/Makefile.common +++ b/x11/qt3-libs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.22 2003/09/28 01:34:40 grant Exp $ +# $NetBSD: Makefile.common,v 1.23 2003/09/28 05:27:06 grant Exp $ # DISTNAME= qt-x11-free-${QTVERSION} CATEGORIES= x11 @@ -27,7 +27,6 @@ CONFIGURE_ARGS+= -shared -sm -thread -no-stl \ -system-zlib -system-libpng \ -system-libmng -system-libjpeg CONFIGURE_ARGS+= -qt-gif # qt3 does not write compressed GIFs -CONFIGURE_ARGS+= -no-g++-exceptions CONFIGURE_ARGS+= < ${FILESDIR}/license-acceptance @@ -42,6 +41,10 @@ SCRIPTS_ENV+= HOME="${WRKDIR}" .include "../../mk/bsd.prefs.mk" +.if !empty(CC_VERSION:Mgcc*) +CONFIGURE_ARGS+= -no-g++-exceptions +.endif + .if ${OPSYS} == "SunOS" CONFIGURE_SCRIPT= ${SH} ./configure . if !empty(CC_VERSION:Mgcc*) |