summaryrefslogtreecommitdiff
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authorsketch <sketch>2003-12-19 18:21:03 +0000
committersketch <sketch>2003-12-19 18:21:03 +0000
commit0a71921d0937b7afe1026b4fd1886ced0172ab13 (patch)
treeb3a4c84a89ee472c9bd9742d429c9371df3c3081 /x11/xscreensaver
parent3af00abceb87f0da792f3c6fce257cabe8a17bf0 (diff)
downloadpkgsrc-0a71921d0937b7afe1026b4fd1886ced0172ab13.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/xscreensaver')
-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