summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/seatd')
-rw-r--r--sys-auth/seatd/seatd-0.6.0-r1.ebuild (renamed from sys-auth/seatd/seatd-0.6.0.ebuild)6
-rw-r--r--sys-auth/seatd/seatd-9999.ebuild6
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
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