commit: b6e8f7e5e1761aae662174822ee3f7e448d57235
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 14:41:11 2016 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 14:44:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e8f7e5
sys-auth/consolekit: Add at_console compat hook only on linux
Package-Manager: portage-2.2.26
sys-auth/consolekit/consolekit-1.0.1.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys-auth/consolekit/consolekit-1.0.1.ebuild
b/sys-auth/consolekit/consolekit-1.0.1.ebuild
index 4099a3a..af935ad 100644
--- a/sys-auth/consolekit/consolekit-1.0.1.ebuild
+++ b/sys-auth/consolekit/consolekit-1.0.1.ebuild
@@ -104,6 +104,11 @@ src_install() {
exeinto /etc/X11/xinit/xinitrc.d
newexe "${FILESDIR}"/90-consolekit-3 90-consolekit
+ if use kernel_linux; then
+ exeinto /usr/lib/ConsoleKit/run-session.d
+ doexe "${FILESDIR}"/pam-foreground-compat.ck
+ fi
+
prune_libtool_files --all # --all for pam_ck_connector.la
rm -rf "${ED}"/var/run || die # let the init script create the directory