pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: go back to disabling llvm on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d8a1e0e388c
branches:  trunk
changeset: 400669:6d8a1e0e388c
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Sep 01 09:36:16 2019 +0000

description:
MesaLib: go back to disabling llvm on SunOS and non-dri platforms

diffstat:

 graphics/MesaLib/options.mk |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 44d4156534c9 -r 6d8a1e0e388c graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk       Sun Sep 01 09:35:05 2019 +0000
+++ b/graphics/MesaLib/options.mk       Sun Sep 01 09:36:16 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.72 2019/08/31 10:09:15 nia Exp $
+# $NetBSD: options.mk,v 1.73 2019/09/01 09:36:16 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.MesaLib
 
@@ -15,8 +15,12 @@
 #
 # Enable it by default on platforms where such GPUs might be encountered or
 # LLVM-accelerated software rendering might be useful.
-.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
-     ${MACHINE_ARCH} == "aarch64")
+.if ${OPSYS} != "SunOS" && \
+    ${OPSYS} != "Darwin" && \
+    ${OPSYS} != "Cygwin" && \
+      (${MACHINE_ARCH} == "i386" || \
+       ${MACHINE_ARCH} == "x86_64" || \
+       ${MACHINE_ARCH} == "aarch64")
 PKG_SUGGESTED_OPTIONS+=                llvm
 .endif
 



Home | Main Index | Thread Index | Old Index