diff options
author | tnn <tnn> | 2008-04-27 09:43:12 +0000 |
---|---|---|
committer | tnn <tnn> | 2008-04-27 09:43:12 +0000 |
commit | 7b01b3c7a216d62fb0438ec6ad41eda799579dfd (patch) | |
tree | 7eccf9f7f502658fb220eb1d272d07de0624fa04 /graphics/MesaLib/options.mk | |
parent | 9b92c84c58f5a7cbaa40fdb9e706e3ba8ce01fc3 (diff) | |
download | pkgsrc-7b01b3c7a216d62fb0438ec6ad41eda799579dfd.tar.gz |
The "pkgsrc-i386" target doesn't seem to work on SunOS, so for now fall back
to the "pkgsrc" target which is intended to be portable.
Diffstat (limited to 'graphics/MesaLib/options.mk')
-rw-r--r-- | graphics/MesaLib/options.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk index d53ebfbecdd..64e8c05d375 100644 --- a/graphics/MesaLib/options.mk +++ b/graphics/MesaLib/options.mk @@ -1,10 +1,11 @@ -# $NetBSD: options.mk,v 1.2 2008/04/25 20:33:08 bjs Exp $ +# $NetBSD: options.mk,v 1.3 2008/04/27 09:43:12 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" +.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \ + ${OPSYS} != "SunOS" PKG_SUPPORTED_OPTIONS+= ${MACHINE_ARCH} PKG_SUGGESTED_OPTIONS+= ${MACHINE_ARCH} .endif @@ -63,7 +64,8 @@ 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) +.if (!empty(PKG_OPTIONS:Mi386) || !empty(PKG_OPTIONS:Mx86_64)) && \ + ${OPSYS} != "SunOS" BUILD_TARGET_SUFFIX= -${MACHINE_ARCH} .else BUILD_TARGET_SUFFIX= # empty |