diff options
author | tnn <tnn@pkgsrc.org> | 2022-03-26 20:37:09 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-03-26 20:37:09 +0000 |
commit | 9b41bb009667da8b020ef43a60a485d201935050 (patch) | |
tree | 2ed40b2c7f51f58515951c52e9b17780f8d58d85 /x11 | |
parent | 760e23eff29347d60d529601b7aee8a2b3454ccd (diff) | |
download | pkgsrc-9b41bb009667da8b020ef43a60a485d201935050.tar.gz |
qt5: omit wayland dependency in meta package if not supported
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qt5/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/qt5/Makefile b/x11/qt5/Makefile index c0f5f742f2f..3d92bf4fe9c 100644 --- a/x11/qt5/Makefile +++ b/x11/qt5/Makefile @@ -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}{,nb[0-9]*}:../../x11/qt5-qtxmlpatterns .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" |