pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib mesalib: correct options.mk logic for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1609352d7cb6
branches:  trunk
changeset: 381968:1609352d7cb6
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Jun 20 12:28:42 2018 +0000

description:
mesalib: correct options.mk logic for disabling llvm on netbsd+native xorg

Follow the rest of the cases and use "not-CASE and not-CASE".
Sorry, I got confused.

Fix by wiz.

diffstat:

 graphics/MesaLib/options.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4743df2162c3 -r 1609352d7cb6 graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk       Wed Jun 20 12:03:04 2018 +0000
+++ b/graphics/MesaLib/options.mk       Wed Jun 20 12:28:42 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.61 2018/06/20 01:37:15 maya Exp $
+# $NetBSD: options.mk,v 1.62 2018/06/20 12:28:42 maya Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.MesaLib
 PKG_SUPPORTED_OPTIONS=         llvm dri
@@ -9,7 +9,7 @@
 # by default on platforms where such GPUs might be encountered.
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
        ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin" && \
-       (${OPSYS} == "NetBSD" && ${X11_TYPE} == "modular")
+       !(${OPSYS} == "NetBSD" && ${X11_TYPE} == "native")
 PKG_SUGGESTED_OPTIONS+=                llvm
 .endif
 



Home | Main Index | Thread Index | Old Index