summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-09-13 12:58:09 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-09-13 12:58:32 +0300
commitf8271ad740bd57ef962b39604429920477e1f0cb (patch)
treee52eb9384ae5879cb8d58c47241b0b8cd7d279a9 /sys-auth/seatd/seatd-9999.ebuild
parentdev-qt/qtwebengine: Switch from ~QTVER to =QT5_PV* version deps (diff)
downloadgentoo-f8271ad740bd57ef962b39604429920477e1f0cb.tar.gz
gentoo-f8271ad740bd57ef962b39604429920477e1f0cb.tar.bz2
gentoo-f8271ad740bd57ef962b39604429920477e1f0cb.zip
sys-auth/seatd: fix compiling
Closes: https://bugs.gentoo.org/812929 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
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