diff options
author | sketch <sketch@pkgsrc.org> | 2005-03-17 22:16:39 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2005-03-17 22:16:39 +0000 |
commit | 6064b820faf5233016f38ed8fa2d6152aeadf67a (patch) | |
tree | 9cad3ee0b72520063f1c115f042b28f268a8093e /graphics | |
parent | da54b6a39a9d3ece0ee9f58c474c91787a8a91a5 (diff) | |
download | pkgsrc-6064b820faf5233016f38ed8fa2d6152aeadf67a.tar.gz |
Use PKGSRC_COMPILER to check for sunpro, as CC_VERSION is not guarunteed to
contain 'Sun' when using that compiler.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Mesa/Makefile.common | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common index 6e616eb52cc..9ec2a84e2c3 100644 --- a/graphics/Mesa/Makefile.common +++ b/graphics/Mesa/Makefile.common @@ -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 @@ INSTALLATION_DIRS+= lib # 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-v9 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 |