pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/mate-control-center mate-control-center: make liba...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7367f79b962b
branches:  trunk
changeset: 339122:7367f79b962b
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sat Sep 07 04:02:58 2019 +0000

description:
mate-control-center: make libappindicator3 support optional

To thin out Python 2 dependencies, libappindicator3 can be an optional
choice. It's left enabled by default, no change for most users or
binary packages. Addresses PR pkg/54516 from Benjamin Lorenz.

diffstat:

 x11/mate-control-center/Makefile   |   5 +++--
 x11/mate-control-center/options.mk |  13 +++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 60cd43bbd65e -r 7367f79b962b x11/mate-control-center/Makefile
--- a/x11/mate-control-center/Makefile  Sat Sep 07 03:41:55 2019 +0000
+++ b/x11/mate-control-center/Makefile  Sat Sep 07 04:02:58 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2019/07/21 22:24:18 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2019/09/07 04:02:58 gutteridge Exp $
 
 PKGREVISION= 1
 .include "../../meta-pkgs/mate/Makefile.common"
@@ -23,9 +23,10 @@
 CONF_FILES+=   ${PREFIX}/share/examples/${PKGBASE}/xdg/menus/matecc.menu \
                ${PKG_SYSCONFDIR}/xdg/menus/matecc.menu
 
+.include "options.mk"
+
 .include "../../devel/glib2/schemas.mk"
 
-.include "../../devel/libappindicator3/buildlink3.mk"
 .include "../../x11/libmatekbd/buildlink3.mk"
 .include "../../x11/mate-desktop/buildlink3.mk"
 .include "../../x11/mate-menus/buildlink3.mk"
diff -r 60cd43bbd65e -r 7367f79b962b x11/mate-control-center/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mate-control-center/options.mk        Sat Sep 07 04:02:58 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1 2019/09/07 04:02:58 gutteridge Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.mate-control-center
+PKG_SUPPORTED_OPTIONS= libappindicator3
+PKG_SUGGESTED_OPTIONS= libappindicator3
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlibappindicator3)
+.include "../../devel/libappindicator3/buildlink3.mk"
+# configure automatically enables this option if it finds it in the
+# environment. There are no additional files generated.
+.endif



Home | Main Index | Thread Index | Old Index