diff options
author | sketch <sketch> | 2005-03-17 22:16:39 +0000 |
---|---|---|
committer | sketch <sketch> | 2005-03-17 22:16:39 +0000 |
commit | 4026002a92d845ffefcbba159ddd5e905aafef5e (patch) | |
tree | 9cad3ee0b72520063f1c115f042b28f268a8093e /graphics | |
parent | 0d4ea074c7721757d0b1a5c26c14dc7423b6b8de (diff) | |
download | pkgsrc-4026002a92d845ffefcbba159ddd5e905aafef5e.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 |