commit: f8271ad740bd57ef962b39604429920477e1f0cb Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Mon Sep 13 09:58:09 2021 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Mon Sep 13 09:58:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8271ad7
sys-auth/seatd: fix compiling Closes: https://bugs.gentoo.org/812929 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> sys-auth/seatd/{seatd-0.6.0.ebuild => seatd-0.6.0-r1.ebuild} | 6 ++++-- sys-auth/seatd/seatd-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sys-auth/seatd/seatd-0.6.0.ebuild b/sys-auth/seatd/seatd-0.6.0-r1.ebuild similarity index 89% rename from sys-auth/seatd/seatd-0.6.0.ebuild rename to sys-auth/seatd/seatd-0.6.0-r1.ebuild index 4191667845a..8513ea78566 100644 --- a/sys-auth/seatd/seatd-0.6.0.ebuild +++ b/sys-auth/seatd/seatd-0.6.0-r1.ebuild @@ -34,8 +34,10 @@ src_configure() { $(meson_feature server) ) - if use elogind || use systemd; then - emesonargs+=( -Dlibseat-logind=enabled ) + if use elogind ; then + emesonargs+=( -Dlibseat-logind=elogind ) + elif use systemd; then + emesonargs+=( -Dlibseat-logind=systemd ) else emesonargs+=( -Dlibseat-logind=disabled ) fi diff --git a/sys-auth/seatd/seatd-9999.ebuild b/sys-auth/seatd/seatd-9999.ebuild index 4191667845a..8513ea78566 100644 --- a/sys-auth/seatd/seatd-9999.ebuild +++ b/sys-auth/seatd/seatd-9999.ebuild @@ -34,8 +34,10 @@ src_configure() { $(meson_feature server) ) - if use elogind || use systemd; then - emesonargs+=( -Dlibseat-logind=enabled ) + if use elogind ; then + emesonargs+=( -Dlibseat-logind=elogind ) + elif use systemd; then + emesonargs+=( -Dlibseat-logind=systemd ) else emesonargs+=( -Dlibseat-logind=disabled ) fi