summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-05-21 08:40:06 +0000
committergrant <grant@pkgsrc.org>2003-05-21 08:40:06 +0000
commit2def9f6d3a44fbf1d82380ed34d9472f3722cc64 (patch)
tree9bace79275dd0e932489a6d32abe0f4c1847ed5d /graphics
parent82af0e9f5fc4189040b67155cbdace349c5fa897 (diff)
downloadpkgsrc-2def9f6d3a44fbf1d82380ed34d9472f3722cc64.tar.gz
do not use the included sparc asm on sparc64, as it doesn't build.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile
index 6c0bc4fe337..5028e6d17d1 100644
--- a/graphics/MesaLib/Makefile
+++ b/graphics/MesaLib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2003/05/10 16:37:12 drochner Exp $
+# $NetBSD: Makefile,v 1.20 2003/05/21 08:40:06 grant Exp $
PKGNAME= MesaLib-${MESA_VERSION}
WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
@@ -15,6 +15,11 @@ BUILD_DIRS= ${WRKSRC}/src
.include "../../mk/bsd.prefs.mk"
+# The sparc asm included with Mesa does not build on sparc64
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc64"
+CONFIGURE_ARGS+= --disable-sparc
+.endif
+
# XXX should be >= 3.4.2
.if empty(MESA_REQD:M5.[0-9]*)