diff options
author | grant <grant> | 2005-02-20 12:43:08 +0000 |
---|---|---|
committer | grant <grant> | 2005-02-20 12:43:08 +0000 |
commit | a9615953ca28ae23d4d39f9d52bf1e3268871734 (patch) | |
tree | 154627b461ad4cf988062ff4ebcd95c83eb23734 /graphics | |
parent | b16dde89c3af00a05aaaaee65cd67796b1c1e55f (diff) | |
download | pkgsrc-a9615953ca28ae23d4d39f9d52bf1e3268871734.tar.gz |
only use the sparc* targets with sunpro where MACHINE_ARCH=sparc.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Mesa/Makefile.common | 4 |
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" |