summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2018-05-17 16:11:23 +0000
committermaya <maya@pkgsrc.org>2018-05-17 16:11:23 +0000
commit208c9a370b458ebddc1506b50892744e3339bc18 (patch)
treea2c5312ef73b93268e3c840974b2ba2be60ee8c6 /graphics
parent70d94ca283dfed79511dbc8ab7a384910632dfd4 (diff)
downloadpkgsrc-208c9a370b458ebddc1506b50892744e3339bc18.tar.gz
MesaLib: stopgap fix to allow netbsd wih base xorg to build this package.
disable dri option unless modular xorg is used.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk
index 109b7f20a53..82b9a700d38 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -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 @@ PKG_SUGGESTED_OPTIONS+= llvm
.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