pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/mate-power-manager



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Fri Apr 17 21:07:00 UTC 2020

Modified Files:
        pkgsrc/sysutils/mate-power-manager: Makefile

Log Message:
mate-power-manager: fix sandboxed builds

Polkit is now required directly for its ITS data during the build phase
only, in order to generate the file "org.mate.power.policy". (While
here, itstool is already pulled in through the meta-package.)


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/sysutils/mate-power-manager/Makefile

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

Modified files:

Index: pkgsrc/sysutils/mate-power-manager/Makefile
diff -u pkgsrc/sysutils/mate-power-manager/Makefile:1.22 pkgsrc/sysutils/mate-power-manager/Makefile:1.23
--- pkgsrc/sysutils/mate-power-manager/Makefile:1.22    Sun Apr  5 16:05:43 2020
+++ pkgsrc/sysutils/mate-power-manager/Makefile Fri Apr 17 21:07:00 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2020/04/05 16:05:43 bsiegert Exp $
+# $NetBSD: Makefile,v 1.23 2020/04/17 21:07:00 gutteridge Exp $
 
 .include "../../meta-pkgs/mate/Makefile.common"
 
@@ -7,8 +7,11 @@ CATEGORIES=    sysutils
 
 COMMENT=       Power manager for MATE
 
-TOOL_DEPENDS+=         itstool-[0-9]*:../../textproc/itstool
 TOOL_DEPENDS+=         libxml2-[0-9]*:../../textproc/libxml2 # for xmllint
+# This looks unorthodox, but polkit is required directly for its ITS
+# data during the build phase only, in order to generate the file
+# "org.mate.power.policy".
+TOOL_DEPENDS+=         polkit-[0-9]*:../../security/polkit
 
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 INSTALL_MAKE_FLAGS+=   sysconfdir=${PREFIX}/share/examples/${PKGBASE}



Home | Main Index | Thread Index | Old Index