summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2018-06-20 01:37:15 +0000
committermaya <maya@pkgsrc.org>2018-06-20 01:37:15 +0000
commit181f3d647e53da2d46dba7bfcf5760c5ecb0e4ef (patch)
treeac54514ee2bb3d7251a46e92ef4c7aa34166ad7b /graphics/MesaLib
parentbc8c136e54c507a9acdf1f14820525d3c38f2441 (diff)
downloadpkgsrc-181f3d647e53da2d46dba7bfcf5760c5ecb0e4ef.tar.gz
mesalib: disable dri *and* llvm in the netbsd native xorg case.
It isn't feasible to build this version of MesaLib with this option and netbsd's base libraries. PR pkg/52686.
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r--graphics/MesaLib/options.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk
index 17b56659ecb..219ff1c3617 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.60 2018/06/01 14:54:43 maya Exp $
+# $NetBSD: options.mk,v 1.61 2018/06/20 01:37:15 maya Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
PKG_SUPPORTED_OPTIONS= llvm dri
@@ -8,14 +8,15 @@ PKG_SUGGESTED_OPTIONS=
# is also required to support the latest RADEON GPUs, so enable it
# by default on platforms where such GPUs might be encountered.
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
- ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"
+ ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin" && \
+ (${OPSYS} == "NetBSD" && ${X11_TYPE} == "modular")
PKG_SUGGESTED_OPTIONS+= llvm
.endif
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || \
${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || \
${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || \
- ${OPSYS} == "NetBSD"
+ (${OPSYS} == "NetBSD" && ${X11_TYPE} == "modular")
PKG_SUGGESTED_OPTIONS+= dri
.endif