summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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