summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-03-27 00:39:57 +0000
committertnn <tnn@pkgsrc.org>2022-03-27 00:39:57 +0000
commit3d728765e1f964b335b450c71a90675a1db61ac3 (patch)
tree1859605ff0dffe0610d78fde91f691e5c9da47b8 /x11
parent2dc5cf55fdaa64060b2425e5b68e2e2cc8951410 (diff)
downloadpkgsrc-3d728765e1f964b335b450c71a90675a1db61ac3.tar.gz
kguiaddons: can't build on platforms without wayland
Diffstat (limited to 'x11')
-rw-r--r--x11/kguiaddons/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/kguiaddons/Makefile b/x11/kguiaddons/Makefile
index d6d1fb142c9..ac325e90db4 100644
--- a/x11/kguiaddons/Makefile
+++ b/x11/kguiaddons/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2021/12/08 16:02:53 adam Exp $
+# $NetBSD: Makefile,v 1.31 2022/03/27 00:39:57 tnn Exp $
DISTNAME= kguiaddons-${KF5VER}
PKGREVISION= 2
@@ -12,6 +12,12 @@ LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
USE_TOOLS+= pkg-config
+.include "../../devel/wayland/platform.mk"
+
+.if empty(PLATFORM_SUPPORTS_WAYLAND:M[Yy][Ee][Ss])
+PKG_SKIP_REASON+= "Platform does not support Wayland"
+.endif
+
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtwayland/buildlink3.mk"
.include "../../x11/qt5-qtx11extras/buildlink3.mk"