pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/kguiaddons



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

Modified Files:
        pkgsrc/x11/kguiaddons: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/x11/kguiaddons/Makefile

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

Modified files:

Index: pkgsrc/x11/kguiaddons/Makefile
diff -u pkgsrc/x11/kguiaddons/Makefile:1.30 pkgsrc/x11/kguiaddons/Makefile:1.31
--- pkgsrc/x11/kguiaddons/Makefile:1.30 Wed Dec  8 16:02:53 2021
+++ pkgsrc/x11/kguiaddons/Makefile      Sun Mar 27 00:39:57 2022
@@ -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"



Home | Main Index | Thread Index | Old Index