pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt5



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sat Mar 26 20:37:09 UTC 2022

Modified Files:
        pkgsrc/x11/qt5: Makefile

Log Message:
qt5: omit wayland dependency in meta package if not supported


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/x11/qt5/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/Makefile
diff -u pkgsrc/x11/qt5/Makefile:1.19 pkgsrc/x11/qt5/Makefile:1.20
--- pkgsrc/x11/qt5/Makefile:1.19        Tue Jan 21 20:25:36 2020
+++ pkgsrc/x11/qt5/Makefile     Sat Mar 26 20:37:09 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/01/21 20:25:36 adam Exp $
+# $NetBSD: Makefile,v 1.20 2022/03/26 20:37:09 tnn Exp $
 
 DISTNAME=      qt5-${QTVERSION}
 
@@ -35,8 +35,11 @@ DEPENDS+=    qt5-qtxmlpatterns-${QTVERSION}
 .if ${OPSYS} == "Darwin"
 DEPENDS+=      qt5-qtmacextras-${QTVERSION}{,nb[0-9]*}:../../x11/qt5-qtmacextras
 .else
-DEPENDS+=      qt5-qtwayland-${QTVERSION}{,nb[0-9]*}:../../x11/qt5-qtwayland
 DEPENDS+=      qt5-qtx11extras-${QTVERSION}{,nb[0-9]*}:../../x11/qt5-qtx11extras
 .endif
+.include "../../devel/wayland/platform.mk"
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+DEPENDS+=      qt5-qtwayland-${QTVERSION}{,nb[0-9]*}:../../x11/qt5-qtwayland
+.endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index