commit:     fa3f072ee74b95a1ac88e4f269bc39f2979f6f1e
Author:     Duje Mihanović <duje.mihanovic <AT> skole <DOT> hr>
AuthorDate: Tue Oct 18 08:21:45 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 19:13:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3f072e

sys-power/tlp: install elogind sleep hook correctly

Closes: https://bugs.gentoo.org/877465
Signed-off-by: Duje Mihanović <duje.mihanovic <AT> skole.hr>
Closes: https://github.com/gentoo/gentoo/pull/27830
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-power/tlp/{tlp-1.5.0.ebuild => tlp-1.5.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-power/tlp/tlp-1.5.0.ebuild b/sys-power/tlp/tlp-1.5.0-r1.ebuild
similarity index 95%
rename from sys-power/tlp/tlp-1.5.0.ebuild
rename to sys-power/tlp/tlp-1.5.0-r1.ebuild
index 58c6a1db7a7d..b0bbf7d60684 100644
--- a/sys-power/tlp/tlp-1.5.0.ebuild
+++ b/sys-power/tlp/tlp-1.5.0-r1.ebuild
@@ -26,6 +26,7 @@ src_install() {
        emake \
                DESTDIR="${D}" \
                TLP_NO_INIT=1 \
+               TLP_ELOD=/$(get_libdir)/elogind/system-sleep \
                TLP_WITH_ELOGIND=1 \
                TLP_WITH_SYSTEMD=1 \
                install install-man

Reply via email to