summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-02-20 12:43:08 +0000
committergrant <grant@pkgsrc.org>2005-02-20 12:43:08 +0000
commitcda4de762eb278a1675e64ad87e4fc97863abba1 (patch)
tree154627b461ad4cf988062ff4ebcd95c83eb23734 /graphics/Mesa
parent587c64748f26091663ba96160749e9bba0a13862 (diff)
downloadpkgsrc-cda4de762eb278a1675e64ad87e4fc97863abba1.tar.gz
only use the sparc* targets with sunpro where MACHINE_ARCH=sparc.
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common
index 5fe5c488d20..b99d289db0a 100644
--- a/graphics/Mesa/Makefile.common
+++ b/graphics/Mesa/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.37 2005/01/04 15:49:49 adam Exp $
+# $NetBSD: Makefile.common,v 1.38 2005/02/20 12:43:08 grant Exp $
DISTNAME= MesaLib-${MESA_VERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -32,7 +32,7 @@ INSTALLATION_DIRS+= lib
# Mesa has proper support for Solaris and SunPro, use it.
.if ${OPSYS} == "SunOS"
-. if !empty(CC_VERSION:MSun)
+. if ${MACHINE_ARCH} == "sparc" && !empty(CC_VERSION:MSun)
. if ${SPARC_TARGET_ARCH} == "sparcv7"
BUILD_TARGET= sunos5
. elif ${SPARC_TARGET_ARCH} == "sparcv8"