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
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')
-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 4191667845af..8513ea785669 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 4191667845af..8513ea785669 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