summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-auth/consolekit/consolekit-1.1.2.ebuild4
-rw-r--r--sys-auth/consolekit/consolekit-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-auth/consolekit/consolekit-1.1.2.ebuild b/sys-auth/consolekit/consolekit-1.1.2.ebuild
index 0ff201ad989b..94b183899d1a 100644
--- a/sys-auth/consolekit/consolekit-1.1.2.ebuild
+++ b/sys-auth/consolekit/consolekit-1.1.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools libtool linux-info pam
+inherit autotools libtool linux-info pam xdg-utils
MY_PN=ConsoleKit2
MY_P=${MY_PN}-${PV}
@@ -66,6 +66,8 @@ pkg_setup() {
}
src_prepare() {
+ xdg_environment_reset
+
sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in || die
default
diff --git a/sys-auth/consolekit/consolekit-9999.ebuild b/sys-auth/consolekit/consolekit-9999.ebuild
index 602bd0d11b8a..a87eea41cc33 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