summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/consolekit/consolekit-9999.ebuild')
-rw-r--r--sys-auth/consolekit/consolekit-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-auth/consolekit/consolekit-9999.ebuild b/sys-auth/consolekit/consolekit-9999.ebuild
index 602bd0d11b8..a87eea41cc3 100644
--- a/sys-auth/consolekit/consolekit-9999.ebuild
+++ b/sys-auth/consolekit/consolekit-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools libtool git-r3 linux-info pam
+inherit autotools libtool git-r3 linux-info pam xdg-utils
MY_PN=ConsoleKit2
MY_P=${MY_PN}-${PV}
@@ -64,6 +64,8 @@ pkg_setup() {
}
src_prepare() {
+ xdg_environment_reset
+
sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die
default