Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 420209 | Differences between
and this patch

Collapse All | Expand All

(-)a/polkit-0.107.ebuild (-1 / +6 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.107.ebuild,v 1.1 2012/07/13 08:03:42 ssuominen Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.107.ebuild,v 1.1 2012/07/13 08:03:42 ssuominen Exp $
4
4
5
EAPI=4
5
EAPI=4
6
inherit eutils multilib pam pax-utils systemd user
6
inherit eutils autotools-utils multilib pam pax-utils systemd user
7
7
8
DESCRIPTION="Policy framework for controlling privileges for system-wide services"
8
DESCRIPTION="Policy framework for controlling privileges for system-wide services"
9
HOMEPAGE="http://www.freedesktop.org/wiki/Software/polkit"
9
HOMEPAGE="http://www.freedesktop.org/wiki/Software/polkit"
Lines 44-49 Link Here
44
		)
44
		)
45
	!systemd? ( >=sys-auth/consolekit-0.4.5_p2012[policykit] )"
45
	!systemd? ( >=sys-auth/consolekit-0.4.5_p2012[policykit] )"
46
46
47
PATCHES=( "${FILESDIR}"/${P}_gir_build.patch )
48
AUTOTOOLS_AUTORECONF=1
49
AUTOTOOLS_IN_SOURCE_BUILD=1
50
47
pkg_setup() {
51
pkg_setup() {
48
	local u=polkitd
52
	local u=polkitd
49
	local g=polkitd
53
	local g=polkitd
Lines 55-60 Link Here
55
}
59
}
56
60
57
src_prepare() {
61
src_prepare() {
62
	autotools-utils_src_prepare
58
	sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513
63
	sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513
59
	has_version ">=dev-lang/spidermonkey-1.8.7" && { sed -i -e '/mozjs/s:185:187:g' configure || die; }
64
	has_version ">=dev-lang/spidermonkey-1.8.7" && { sed -i -e '/mozjs/s:185:187:g' configure || die; }
60
}
65
}

Return to bug 420209