pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xfce4-session Make the "polkit" dependency optional
details: https://anonhg.NetBSD.org/pkgsrc/rev/e2f662cf70a6
branches: trunk
changeset: 355525:e2f662cf70a6
user: martin <martin%pkgsrc.org@localhost>
date: Sun Dec 04 13:50:08 2016 +0000
description:
Make the "polkit" dependency optional
diffstat:
x11/xfce4-session/Makefile | 4 ++--
x11/xfce4-session/PLIST | 4 ++--
x11/xfce4-session/options.mk | 16 ++++++++++++++++
3 files changed, 20 insertions(+), 4 deletions(-)
diffs (56 lines):
diff -r 483407ff4416 -r e2f662cf70a6 x11/xfce4-session/Makefile
--- a/x11/xfce4-session/Makefile Sun Dec 04 12:41:47 2016 +0000
+++ b/x11/xfce4-session/Makefile Sun Dec 04 13:50:08 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2016/08/03 10:23:39 adam Exp $
+# $NetBSD: Makefile,v 1.56 2016/12/04 13:50:08 martin Exp $
.include "../../meta-pkgs/xfce4/Makefile.common"
@@ -47,8 +47,8 @@
.include "../../devel/libglade/buildlink3.mk"
.include "../../devel/libwnck/buildlink3.mk"
-.include "../../security/polkit/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libxfce4ui/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "options.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 483407ff4416 -r e2f662cf70a6 x11/xfce4-session/PLIST
--- a/x11/xfce4-session/PLIST Sun Dec 04 12:41:47 2016 +0000
+++ b/x11/xfce4-session/PLIST Sun Dec 04 13:50:08 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2016/06/04 15:13:27 youri Exp $
+@comment $NetBSD: PLIST,v 1.19 2016/12/04 13:50:08 martin Exp $
bin/startxfce4
bin/xfce4-session
bin/xfce4-session-logout
@@ -97,6 +97,6 @@
share/locale/zh_CN/LC_MESSAGES/xfce4-session.mo
share/locale/zh_HK/LC_MESSAGES/xfce4-session.mo
share/locale/zh_TW/LC_MESSAGES/xfce4-session.mo
-share/polkit-1/actions/org.xfce.session.policy
+${PLIST.polkit}share/polkit-1/actions/org.xfce.session.policy
share/themes/Default/balou/logo.png
share/themes/Default/balou/themerc
diff -r 483407ff4416 -r e2f662cf70a6 x11/xfce4-session/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xfce4-session/options.mk Sun Dec 04 13:50:08 2016 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2016/12/04 13:50:08 martin Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xfce4-session
+PKG_SUPPORTED_OPTIONS= polkit
+PKG_SUGGESTED_OPTIONS= polkit
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS = polkit
+
+.if !empty(PKG_OPTIONS:Mpolkit)
+.include "../../security/polkit/buildlink3.mk"
+PLIST.polkit = yes
+.endif
+
+
Home |
Main Index |
Thread Index |
Old Index