diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2019-09-07 04:02:58 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2019-09-07 04:02:58 +0000 |
commit | 6994531bc88fba3a35f07debb5ceebfe67914471 (patch) | |
tree | 6cff749be6389242e0f67d53beca01808cbb303b /x11 | |
parent | f9f5b53be51e0eb21edb9e9661358d6d9e1bdc25 (diff) | |
download | pkgsrc-6994531bc88fba3a35f07debb5ceebfe67914471.tar.gz |
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 (limited to 'x11')
-rw-r--r-- | x11/mate-control-center/Makefile | 5 | ||||
-rw-r--r-- | x11/mate-control-center/options.mk | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/x11/mate-control-center/Makefile b/x11/mate-control-center/Makefile index 9307e6a4892..21d0ecfa7c5 100644 --- a/x11/mate-control-center/Makefile +++ b/x11/mate-control-center/Makefile @@ -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 @@ MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/menus 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 --git a/x11/mate-control-center/options.mk b/x11/mate-control-center/options.mk new file mode 100644 index 00000000000..2cb7bcdefd6 --- /dev/null +++ b/x11/mate-control-center/options.mk @@ -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 |