summaryrefslogtreecommitdiff
path: root/x11/qt5-qtbase
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-09-16 12:28:53 +0000
committertnn <tnn@pkgsrc.org>2015-09-16 12:28:53 +0000
commit841a23be9e8462d5b9cda03c3685379525dd4ee2 (patch)
tree68ec43bfae2dc15785cf86bfe703261b06cbb750 /x11/qt5-qtbase
parent3b17e577fb500ef6caa362d8f23f80cc2b1e1419 (diff)
downloadpkgsrc-841a23be9e8462d5b9cda03c3685379525dd4ee2.tar.gz
PR pkg/50243: PLIST fix when X11_TYPE=modular and PKG_OPTIONS.MesaLib=-dri
ok gdt@
Diffstat (limited to 'x11/qt5-qtbase')
-rw-r--r--x11/qt5-qtbase/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/qt5-qtbase/Makefile b/x11/qt5-qtbase/Makefile
index 10e50ead274..cb25555ec9a 100644
--- a/x11/qt5-qtbase/Makefile
+++ b/x11/qt5-qtbase/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2015/07/04 16:18:42 joerg Exp $
+# $NetBSD: Makefile,v 1.26 2015/09/16 12:28:53 tnn Exp $
DISTNAME= qtbase-opensource-src-${QTVERSION}
PKGNAME= qt5-qtbase-${QTVERSION}
@@ -52,9 +52,6 @@ QMAKE_CONF= qmake.conf.mac
.endif
PLIST_VARS+= egl
-.if ${X11_TYPE} == "modular" || exists(${X11BASE}/include/EGL/egl.h)
-PLIST.egl= yes
-.endif
.include "../../mk/compiler.mk"
@@ -186,6 +183,9 @@ post-install:
.include "../../textproc/icu/buildlink3.mk"
.if ${OPSYS} != "Darwin"
.include "../../graphics/glu/buildlink3.mk"
+.if !empty(MESALIB_SUPPORTS_EGL:Myes)
+PLIST.egl= yes
+.endif
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/xcb-util/buildlink3.mk"
.include "../../x11/xcb-util-image/buildlink3.mk"