pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtbase x11/qt5-qtbase: depend on libdrm explic...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a3becca64ef3
branches:  trunk
changeset: 453194:a3becca64ef3
user:      thor <thor%pkgsrc.org@localhost>
date:      Tue May 25 09:26:32 2021 +0000

description:
x11/qt5-qtbase: depend on libdrm explicitly if MesaLib does DRI

On systems with DRI and a libdrm present in the host, it will be
picked up anyway, so let's ensure that the dependency is properly
handled.

diffstat:

 x11/qt5-qtbase/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r c38312c795dd -r a3becca64ef3 x11/qt5-qtbase/Makefile
--- a/x11/qt5-qtbase/Makefile   Tue May 25 09:08:10 2021 +0000
+++ b/x11/qt5-qtbase/Makefile   Tue May 25 09:26:32 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.109 2021/05/24 19:56:04 wiz Exp $
+# $NetBSD: Makefile,v 1.110 2021/05/25 09:26:32 thor Exp $
 
 DISTNAME=      qtbase-everywhere-src-${QTVERSION}
 PKGNAME=       qt5-qtbase-${QTVERSION}
@@ -249,6 +249,10 @@
 .  if !empty(MESALIB_SUPPORTS_EGL:Myes)
 PLIST.egl=     yes
 .  endif
+.  if !empty(MESALIB_SUPPORTS_DRI:Myes)
+CONFIGURE_ARGS+=       -kms
+.include "../../x11/libdrm/buildlink3.mk"
+.  endif
 BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.11
 .include "../../x11/libxcb/buildlink3.mk"
 .include "../../x11/xcb-util/buildlink3.mk"



Home | Main Index | Thread Index | Old Index