summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-05-31 20:43:29 +0000
committertnn <tnn@pkgsrc.org>2008-05-31 20:43:29 +0000
commit5a0e9d43c65accc302287182760001f6584bce94 (patch)
tree69580ef1a694859ff16a25ca339b14e971bc4605 /graphics
parent26b63811355d54e76eb601a02ec957ca82532a6e (diff)
downloadpkgsrc-5a0e9d43c65accc302287182760001f6584bce94.tar.gz
disable asm targets for Darwin too, breaks build for unknown reasons.
Reported by Mark E. Perkins on pkgsrc-users@
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/options.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk
index 36866f57dcf..9b989eb2dac 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.6 2008/05/30 14:25:30 tnn Exp $
+# $NetBSD: options.mk,v 1.7 2008/05/31 20:43:29 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
PKG_SUPPORTED_OPTIONS= mesa-execmem-mmap
# Assembler code build configurations
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
- ${OPSYS} != "SunOS"
+ ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
PKG_SUPPORTED_OPTIONS+= ${MACHINE_ARCH}
PKG_SUGGESTED_OPTIONS+= ${MACHINE_ARCH}
.endif
@@ -65,8 +65,7 @@ PKG_SUGGESTED_OPTIONS+= dri
###
### XXX Yes, this is a bit overly verbose; with Mesa, that can't hurt much.
###
-.if (!empty(PKG_OPTIONS:Mi386) || !empty(PKG_OPTIONS:Mx86_64)) && \
- ${OPSYS} != "SunOS"
+.if !empty(PKG_OPTIONS:Mi386) || !empty(PKG_OPTIONS:Mx86_64)
BUILD_TARGET_SUFFIX= -${MACHINE_ARCH}
.else
BUILD_TARGET_SUFFIX= # empty