pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: stopgap fix to allow netbsd ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed1459813525
branches:  trunk
changeset: 380620:ed1459813525
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu May 17 16:11:23 2018 +0000

description:
MesaLib: stopgap fix to allow netbsd wih base xorg to build this package.
disable dri option unless modular xorg is used.

diffstat:

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

diffs (20 lines):

diff -r e7f3d9657290 -r ed1459813525 graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk       Thu May 17 15:47:55 2018 +0000
+++ b/graphics/MesaLib/options.mk       Thu May 17 16:11:23 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.58 2018/03/24 22:11:14 sevan Exp $
+# $NetBSD: options.mk,v 1.59 2018/05/17 16:11:23 maya Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.MesaLib
 PKG_SUPPORTED_OPTIONS=         llvm dri
@@ -14,8 +14,8 @@
 
 .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" ||          \
        ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" ||       \
-       ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" ||          \
-       ${OPSYS} == "Darwin"
+       ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" ||          \
+       (${OPSYS} == "NetBSD" && ${X11_TYPE} == "modular")
 PKG_SUGGESTED_OPTIONS+=                dri
 .endif
 



Home | Main Index | Thread Index | Old Index