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

Collapse All | Expand All

(-)a/polkit-0.113-r200.ebuild (-2 / +7 lines)
Lines 44-50 Link Here
44
		kde-plasma/polkit-kde-agent
44
		kde-plasma/polkit-kde-agent
45
		sys-auth/polkit-kde-agent
45
		sys-auth/polkit-kde-agent
46
		) )
46
		) )
47
	!systemd? ( sys-auth/consolekit[policykit] )
47
	!systemd? ( || (
48
		sys-auth/elogind
49
		sys-auth/consolekit[policykit]
50
		) )
48
"
51
"
49
52
50
QA_MULTILIB_PATHS="
53
QA_MULTILIB_PATHS="
Lines 74-79 Link Here
74
		sed -i -e "s/libsystemd-login/libelogind/" -e "s|test ! -d /sys/fs/cgroup/systemd/|false|" configure || die
77
		sed -i -e "s/libsystemd-login/libelogind/" -e "s|test ! -d /sys/fs/cgroup/systemd/|false|" configure || die
75
		sed -i -e "s/systemd/elogind/" src/polkit/polkitunixsession-systemd.c src/polkitbackend/polkitbackendsessionmonitor-systemd.c src/polkitbackend/polkitbackendjsauthority.c || die
78
		sed -i -e "s/systemd/elogind/" src/polkit/polkitunixsession-systemd.c src/polkitbackend/polkitbackendsessionmonitor-systemd.c src/polkitbackend/polkitbackendjsauthority.c || die
76
	fi
79
	fi
80
81
	default
77
}
82
}
78
83
79
src_configure() {
84
src_configure() {
Lines 90-96 Link Here
90
		--disable-examples \
95
		--disable-examples \
91
		$(use_enable nls) \
96
		$(use_enable nls) \
92
		--with-mozjs=mozjs185 \
97
		--with-mozjs=mozjs185 \
93
		"$(systemd_with_unitdir)" \
98
		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
94
		--with-authfw=$(usex pam pam shadow) \
99
		--with-authfw=$(usex pam pam shadow) \
95
		$(use pam && echo --with-pam-module-dir="$(getpam_mod_dir)") \
100
		$(use pam && echo --with-pam-module-dir="$(getpam_mod_dir)") \
96
		$(use_enable test) \
101
		$(use_enable test) \

Return to bug 598615