pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt5-qtbase



Module Name:    pkgsrc
Committed By:   thor
Date:           Tue May 25 09:26:32 UTC 2021

Modified Files:
        pkgsrc/x11/qt5-qtbase: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 pkgsrc/x11/qt5-qtbase/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/qt5-qtbase/Makefile
diff -u pkgsrc/x11/qt5-qtbase/Makefile:1.109 pkgsrc/x11/qt5-qtbase/Makefile:1.110
--- pkgsrc/x11/qt5-qtbase/Makefile:1.109        Mon May 24 19:56:04 2021
+++ pkgsrc/x11/qt5-qtbase/Makefile      Tue May 25 09:26:32 2021
@@ -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 @@ post-install:
 .  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