summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2019-01-19 21:36:21 +0000
committertnn <tnn@pkgsrc.org>2019-01-19 21:36:21 +0000
commit14b6470da54386e591140a814177df7f5b866725 (patch)
tree51ee9407ea7faf6249241518ceee163cf27f202e /graphics
parente1e0c20637c9109b5ef901b375bd9c91dc213702 (diff)
downloadpkgsrc-14b6470da54386e591140a814177df7f5b866725.tar.gz
MesaLib/bl3.mk: don't advertise EGL support for modular Xorg on Darwin
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk
index 8e2ecd69d69..43de91913d4 100644
--- a/graphics/MesaLib/buildlink3.mk
+++ b/graphics/MesaLib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.56 2018/04/02 15:44:47 bsiegert Exp $
+# $NetBSD: buildlink3.mk,v 1.57 2019/01/19 21:36:21 tnn Exp $
BUILDLINK_TREE+= MesaLib
@@ -35,7 +35,7 @@ PKG_BUILD_OPTIONS.MesaLib+= dri
. include "../../graphics/MesaLib/dri.mk"
.endif
-.if ${X11_TYPE} == "modular" && !empty(PKG_BUILD_OPTIONS.MesaLib:Mdri) || \
+.if ${X11_TYPE} == "modular" && !empty(PKG_BUILD_OPTIONS.MesaLib:Mdri) && ${OPSYS} != "Darwin" || \
${X11_TYPE} == "native" && exists(${X11BASE}/include/EGL/egl.h)
MESALIB_SUPPORTS_EGL= yes
.else