diff options
-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" |