summaryrefslogtreecommitdiff
path: root/x11
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
commit79f067c38fc694b6c5040a72369f0b4889db4dc0 (patch)
treec9b79ee87dbd58e9334249c54cd9cfad491b1ac8 /x11
parentc0798d6936a7544cdba03d1f141f2cfda7e39f40 (diff)
downloadpkgsrc-79f067c38fc694b6c5040a72369f0b4889db4dc0.tar.gz
Check that the compiler is actually gcc.
Diffstat (limited to 'x11')
-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