summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"