summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/seatd/seatd-9999.ebuild')
-rw-r--r--sys-auth/seatd/seatd-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
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