summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-12-14 19:50:55 +0000
committerjoerg <joerg@pkgsrc.org>2015-12-14 19:50:55 +0000
commitfa52a87165c13b30a1468dd9caec446d24d69b3d (patch)
treec9b79ee87dbd58e9334249c54cd9cfad491b1ac8
parentbd1d2710b41064db8c1b8d6f9d498b35c09fcbcf (diff)
downloadpkgsrc-fa52a87165c13b30a1468dd9caec446d24d69b3d.tar.gz
Check that the compiler is actually gcc.
-rw-r--r--x11/wxGTK30/hacks.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/wxGTK30/hacks.mk b/x11/wxGTK30/hacks.mk
index 9d473a4dc88..e6dae1f9d66 100644
--- a/x11/wxGTK30/hacks.mk
+++ b/x11/wxGTK30/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2015/12/14 16:57:29 bouyer Exp $
+# $NetBSD: hacks.mk,v 1.3 2015/12/14 19:50:55 joerg Exp $
### [Mon Dec 14 16:58:00 MET 2015 : bouyer ]
### g++-4.8 on NetBSD/i386 fails with an internal compiler error
@@ -6,7 +6,7 @@
###
.if ${OPSYS} == "NetBSD"
. include "../../mk/compiler.mk"
-. if !empty(CC_VERSION:Mgcc-4.8.*)
+. if ${PKGSRC_COMPILER} == "gcc" && !empty(CC_VERSION:Mgcc-4.8.*)
CONFIGURE_ARGS+= --disable-precomp-headers
-.endif
+. endif
.endif