pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/kwayland



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun Mar 27 00:46:27 UTC 2022

Modified Files:
        pkgsrc/devel/kwayland: Makefile

Log Message:
kwayland: can't build on platforms without wayland


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/kwayland/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/kwayland/Makefile
diff -u pkgsrc/devel/kwayland/Makefile:1.13 pkgsrc/devel/kwayland/Makefile:1.14
--- pkgsrc/devel/kwayland/Makefile:1.13 Wed Dec  8 16:01:55 2021
+++ pkgsrc/devel/kwayland/Makefile      Sun Mar 27 00:46:27 2022
@@ -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 @@ USE_TOOLS+=  pkg-config
 # 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