sys-auth/consolekit: reset xdg environment (bug 621040)
authorJason Zaman <perfinion@gentoo.org>
Mon, 12 Jun 2017 14:49:42 +0000 (22:49 +0800)
committerJason Zaman <perfinion@gentoo.org>
Tue, 13 Jun 2017 15:10:26 +0000 (23:10 +0800)
Package-Manager: Portage-2.3.5, Repoman-2.3.1

sys-auth/consolekit/consolekit-1.1.2.ebuild
sys-auth/consolekit/consolekit-9999.ebuild

index 0ff201ad989bed525e5ce1934e41f8520c0e108b..94b183899d1a24be506383401b40c6942c21f3cf 100644 (file)
@@ -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
index 602bd0d11b8aabd573b9e8dd3e3dca304e8d8c67..a87eea41cc33d8ce620d5af41ea24c79764f5e90 100644 (file)
@@ -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