pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/kguiaddons kguiaddons: can't build on platforms wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26d867f969a7
branches:  trunk
changeset: 375792:26d867f969a7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 27 00:39:57 2022 +0000

description:
kguiaddons: can't build on platforms without wayland

diffstat:

 x11/kguiaddons/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 6e9822d0110e -r 26d867f969a7 x11/kguiaddons/Makefile
--- a/x11/kguiaddons/Makefile   Sat Mar 26 23:19:32 2022 +0000
+++ b/x11/kguiaddons/Makefile   Sun Mar 27 00:39:57 2022 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index