pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xscreensaver Check for GCC using CC_VERSION rather...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a93484e7ba71
branches:  trunk
changeset: 465026:a93484e7ba71
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Fri Dec 19 18:21:03 2003 +0000

description:
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:

 x11/xscreensaver/Makefile.common |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8d606362664b -r a93484e7ba71 x11/xscreensaver/Makefile.common
--- a/x11/xscreensaver/Makefile.common  Fri Dec 19 16:59:21 2003 +0000
+++ b/x11/xscreensaver/Makefile.common  Fri Dec 19 18:21:03 2003 +0000
@@ -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 @@
 .  endif
 .endif
 
-.if (${_CC_IS_GCC} == "YES")
+.if !empty(CC_VERSION:Mgcc*)
 CFLAGS+=               -fno-strict-aliasing
 .endif
 



Home | Main Index | Thread Index | Old Index