summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorsketch <sketch>2003-12-19 18:21:03 +0000
committersketch <sketch>2003-12-19 18:21:03 +0000
commit0329fb416e994b8f22bc7c51f43c23833caf4690 (patch)
treeb3a4c84a89ee472c9bd9742d429c9371df3c3081 /x11
parentde11b389ffa5d1c2ae565932442ac44d17658a42 (diff)
downloadpkgsrc-0329fb416e994b8f22bc7c51f43c23833caf4690.tar.gz
Check for GCC using CC_VERSION rather than _CC_IS_GCC, as the latter is
not defined when building with USE_SUNPRO, breaking the build.
Diffstat (limited to 'x11')
-rw-r--r--x11/xscreensaver/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/xscreensaver/Makefile.common b/x11/xscreensaver/Makefile.common
index 8429c49faf0..453174397d9 100644
--- a/x11/xscreensaver/Makefile.common
+++ b/x11/xscreensaver/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.61 2003/12/18 13:49:17 atatat Exp $
+# $NetBSD: Makefile.common,v 1.62 2003/12/19 18:21:03 sketch Exp $
#
DISTNAME= xscreensaver-4.14
@@ -52,7 +52,7 @@ CONFIGURE_ARGS+= --without-kerberos
. endif
.endif
-.if (${_CC_IS_GCC} == "YES")
+.if !empty(CC_VERSION:Mgcc*)
CFLAGS+= -fno-strict-aliasing
.endif