pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/Mesa only use the sparc* targets with sunpro ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/129680230b3a
branches:  trunk
changeset: 489377:129680230b3a
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Feb 20 12:43:08 2005 +0000

description:
only use the sparc* targets with sunpro where MACHINE_ARCH=sparc.

diffstat:

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

diffs (18 lines):

diff -r 487d27ee2908 -r 129680230b3a graphics/Mesa/Makefile.common
--- a/graphics/Mesa/Makefile.common     Sun Feb 20 11:31:11 2005 +0000
+++ b/graphics/Mesa/Makefile.common     Sun Feb 20 12:43:08 2005 +0000
@@ -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 @@
 
 # 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"



Home | Main Index | Thread Index | Old Index