pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/kwayland kwayland: can't build on platforms with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fbd185385fd
branches:  trunk
changeset: 375793:3fbd185385fd
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 27 00:46:27 2022 +0000

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

diffstat:

 devel/kwayland/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 26d867f969a7 -r 3fbd185385fd devel/kwayland/Makefile
--- a/devel/kwayland/Makefile   Sun Mar 27 00:39:57 2022 +0000
+++ b/devel/kwayland/Makefile   Sun Mar 27 00:46:27 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2021/12/08 16:01:55 adam Exp $
+# $NetBSD: Makefile,v 1.14 2022/03/27 00:46:27 tnn Exp $
 
 DISTNAME=      kwayland-${KF5VER}
 PKGREVISION=   2
@@ -16,6 +16,12 @@
 # Don't do autotests.  Some builds are linux specific.
 CMAKE_ARGS+=   -DBUILD_TESTING=no
 
+.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 "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index