commit: d2a267403f77c67ebf543e6bb336718b7af189a5
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 2 14:45:37 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Apr 2 14:45:49 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d2a26740
sys-auth/elogind: launch elogind when called via dbus
Gentoo-bug: 578700
Package-Manager: portage-2.2.28
sys-auth/elogind/{elogind-219.12.ebuild => elogind-219.12-r1.ebuild} | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys-auth/elogind/elogind-219.12.ebuild
b/sys-auth/elogind/elogind-219.12-r1.ebuild
similarity index 89%
rename from sys-auth/elogind/elogind-219.12.ebuild
rename to sys-auth/elogind/elogind-219.12-r1.ebuild
index 0adc6ea..2aba4bc 100644
--- a/sys-auth/elogind/elogind-219.12.ebuild
+++ b/sys-auth/elogind/elogind-219.12-r1.ebuild
@@ -44,6 +44,10 @@ PATCHES=(
src_prepare() {
default
+
+ # launch elogind when called via dbus
+ sed -i -e "s|/bin/false|/usr/libexec/elogind/elogind|"
src/login/org.freedesktop.login1.service || die
+
eautoreconf
}