pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt5 qt5: omit wayland dependency in meta package i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d015c38c3bf2
branches:  trunk
changeset: 375783:d015c38c3bf2
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Mar 26 20:37:09 2022 +0000

description:
qt5: omit wayland dependency in meta package if not supported

diffstat:

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

diffs (22 lines):

diff -r f6dfd7767c8c -r d015c38c3bf2 x11/qt5/Makefile
--- a/x11/qt5/Makefile  Sat Mar 26 19:48:21 2022 +0000
+++ b/x11/qt5/Makefile  Sat Mar 26 20:37:09 2022 +0000
@@ -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 @@
 .if ${OPSYS} == "Darwin"
 DEPENDS+=      qt5-qtmacextras-${QTVERSION}{,nb[0-9]*}:../../x11/qt5-qtmacextras
 .else
+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
-DEPENDS+=      qt5-qtx11extras-${QTVERSION}{,nb[0-9]*}:../../x11/qt5-qtx11extras
 .endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index