diff --git a/sysutils/policykit/Makefile b/sysutils/policykit/Makefile index 68a6b9c12107..03065efaf153 100644 --- a/sysutils/policykit/Makefile +++ b/sysutils/policykit/Makefile @@ -8,7 +8,7 @@ PORTNAME= policykit PORTVERSION= 0.1.20060514 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils gnome MASTER_SITES= http://www.marcuscom.com/downloads/ DISTNAME= PolicyKit-${PORTVERSION} @@ -31,6 +31,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GTKDOC="false" USE_RC_SUBR= polkitd +USE_GNOME_SUBR= yes post-install: .if !defined(PACKAGE_BUILDING) diff --git a/sysutils/policykit/files/polkitd.in b/sysutils/policykit/files/polkitd.in index 3ded54522dff..0e2a829c6f54 100644 --- a/sysutils/policykit/files/polkitd.in +++ b/sysutils/policykit/files/polkitd.in @@ -10,9 +10,10 @@ # polkitd_enable="YES" # -polkitd_enable=${polkitd_enable-"NO"} - . %%RC_SUBR%% +. %%GNOME_SUBR%% + +polkitd_enable=${polkitd_enable-${gnome_enable}} name=polkitd rcvar=`set_rcvar`