pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/mate-control-center



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sat Sep  7 04:02:58 UTC 2019

Modified Files:
        pkgsrc/x11/mate-control-center: Makefile
Added Files:
        pkgsrc/x11/mate-control-center: options.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/x11/mate-control-center/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/mate-control-center/options.mk

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

Modified files:

Index: pkgsrc/x11/mate-control-center/Makefile
diff -u pkgsrc/x11/mate-control-center/Makefile:1.17 pkgsrc/x11/mate-control-center/Makefile:1.18
--- pkgsrc/x11/mate-control-center/Makefile:1.17        Sun Jul 21 22:24:18 2019
+++ pkgsrc/x11/mate-control-center/Makefile     Sat Sep  7 04:02:58 2019
@@ -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"

Added files:

Index: pkgsrc/x11/mate-control-center/options.mk
diff -u /dev/null pkgsrc/x11/mate-control-center/options.mk:1.1
--- /dev/null   Sat Sep  7 04:02:58 2019
+++ pkgsrc/x11/mate-control-center/options.mk   Sat Sep  7 04:02:58 2019
@@ -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