summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-11-24 15:02:18 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-11-24 15:02:18 +0000
commit5af6959b7826431f5a605915dfd18f47a7ca613f (patch)
treef70388b0c7aaaa1683490d3dccee738f689cf6fc /x11
parent359895ef147cc14667e59346308dfe51d27a02ac (diff)
downloadpkgsrc-5af6959b7826431f5a605915dfd18f47a7ca613f.tar.gz
enable hal and policykit, bump PKGREVISION
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-applets/Makefile4
-rw-r--r--x11/gnome-applets/options.mk14
2 files changed, 14 insertions, 4 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile
index f36d8eae541..4d10908e7ec 100644
--- a/x11/gnome-applets/Makefile
+++ b/x11/gnome-applets/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.64 2008/10/27 14:38:01 wiz Exp $
+# $NetBSD: Makefile,v 1.65 2008/11/24 15:02:18 jmcneill Exp $
#
DISTNAME= gnome-applets-2.24.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-applets/2.24/}
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/gnome-applets/options.mk b/x11/gnome-applets/options.mk
index 9b3d7ec2a99..0d5c0e2bebc 100644
--- a/x11/gnome-applets/options.mk
+++ b/x11/gnome-applets/options.mk
@@ -1,7 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2008/10/27 04:23:01 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2008/11/24 15:02:18 jmcneill Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-applets
-PKG_SUPPORTED_OPTIONS= inet6
+PKG_SUPPORTED_OPTIONS= inet6 hal
+PKG_SUGGESTED_OPTIONS+= hal
.include "../../mk/bsd.options.mk"
@@ -10,3 +11,12 @@ CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
+
+.if !empty(PKG_OPTIONS:Mhal)
+.include "../../sysutils/hal/buildlink3.mk"
+.include "../../security/policykit/buildlink3.mk"
+.include "../../security/policykit-gnome/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-polkit
+CONFIGURE_ARGS+= --without-hal
+.endif