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/dc807781889f
branches:  trunk
changeset: 338888:dc807781889f
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 6d76a84a3139 -r dc807781889f 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