summaryrefslogtreecommitdiff
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2003-12-19 18:21:03 +0000
committersketch <sketch@pkgsrc.org>2003-12-19 18:21:03 +0000
commit446a23ab6e234a9780582d182cd6c3891d5bb18d (patch)
treeb3a4c84a89ee472c9bd9742d429c9371df3c3081 /x11/xscreensaver
parenta1a892fcb4df3a73725d9ffa97ec5c901ced9b02 (diff)
downloadpkgsrc-446a23ab6e234a9780582d182cd6c3891d5bb18d.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