summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-01-18 19:27:45 +0000
committerjperkin <jperkin>2016-01-18 19:27:45 +0000
commit16d5d29af5da488e4781129d8065795062f0429b (patch)
tree15049a39c70e6cf718f099dd49c74c31faa3162d /graphics/MesaLib
parent79a4221270cc473480600447f88c59d8f56a0f54 (diff)
downloadpkgsrc-16d5d29af5da488e4781129d8065795062f0429b.tar.gz
Disable DRI3 on Darwin, it currently causes build failure and is mutually
exclusive with Apple DRI.
Diffstat (limited to 'graphics/MesaLib')
-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 dfd187251ea..4af6d0dd2fd 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.46 2016/01/18 18:01:30 jperkin Exp $
+# $NetBSD: options.mk,v 1.47 2016/01/18 19:27:45 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
PKG_SUPPORTED_OPTIONS= llvm dri
@@ -40,10 +40,10 @@ PLIST_VARS+= gbm wayland xatracker
.if !empty(PKG_OPTIONS:Mdri)
CONFIGURE_ARGS+= --enable-dri
-CONFIGURE_ARGS+= --enable-dri3
-CFLAGS+= -DHAVE_DRI3
CONFIGURE_ARGS+= --enable-egl
.if ${OPSYS} != "Darwin"
+CFLAGS+= -DHAVE_DRI3
+CONFIGURE_ARGS+= --enable-dri3
CONFIGURE_ARGS+= --enable-gbm
PLIST.gbm= yes
.endif