pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/Mesa Use PKGSRC_COMPILER to check for sunpro,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b94bc7eada8
branches:  trunk
changeset: 490684:3b94bc7eada8
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Thu Mar 17 22:16:39 2005 +0000

description:
Use PKGSRC_COMPILER to check for sunpro, as CC_VERSION is not guarunteed to
contain 'Sun' when using that compiler.

diffstat:

 graphics/Mesa/Makefile.common |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1e02359083fa -r 3b94bc7eada8 graphics/Mesa/Makefile.common
--- a/graphics/Mesa/Makefile.common     Thu Mar 17 21:44:58 2005 +0000
+++ b/graphics/Mesa/Makefile.common     Thu Mar 17 22:16:39 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2005/02/20 13:08:59 grant Exp $
+# $NetBSD: Makefile.common,v 1.40 2005/03/17 22:16:39 sketch Exp $
 
 DISTNAME=      MesaLib-${MESA_VERSION}
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
@@ -33,7 +33,7 @@
 # Mesa has proper support for Solaris and SunPro, use it.
 .if ${OPSYS} == "SunOS"
 .  if ${MACHINE_ARCH} == "sparc"
-.    if !empty(CC_VERSION:MSun)
+.    if !empty(PKGSRC_COMPILER:Msunpro)
 .      if ${SPARC_TARGET_ARCH} == "sparcv7"
 BUILD_TARGET=          sunos5
 .      elif ${SPARC_TARGET_ARCH} == "sparcv8"
@@ -45,7 +45,7 @@
 BUILD_TARGET=          sunos5-gcc
 .    endif
 .  else        # i386
-.    if !empty(CC_VERSION:MSun)
+.    if !empty(PKGSRC_COMPILER:Msunpro)
 BUILD_TARGET=          solaris-x86
 .    else
 BUILD_TARGET=          solaris-x86-gcc



Home | Main Index | Thread Index | Old Index