1 |
commit: f8271ad740bd57ef962b39604429920477e1f0cb |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 13 09:58:09 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 13 09:58:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8271ad7 |
7 |
|
8 |
sys-auth/seatd: fix compiling |
9 |
|
10 |
Closes: https://bugs.gentoo.org/812929 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
sys-auth/seatd/{seatd-0.6.0.ebuild => seatd-0.6.0-r1.ebuild} | 6 ++++-- |
14 |
sys-auth/seatd/seatd-9999.ebuild | 6 ++++-- |
15 |
2 files changed, 8 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/sys-auth/seatd/seatd-0.6.0.ebuild b/sys-auth/seatd/seatd-0.6.0-r1.ebuild |
18 |
similarity index 89% |
19 |
rename from sys-auth/seatd/seatd-0.6.0.ebuild |
20 |
rename to sys-auth/seatd/seatd-0.6.0-r1.ebuild |
21 |
index 4191667845a..8513ea78566 100644 |
22 |
--- a/sys-auth/seatd/seatd-0.6.0.ebuild |
23 |
+++ b/sys-auth/seatd/seatd-0.6.0-r1.ebuild |
24 |
@@ -34,8 +34,10 @@ src_configure() { |
25 |
$(meson_feature server) |
26 |
) |
27 |
|
28 |
- if use elogind || use systemd; then |
29 |
- emesonargs+=( -Dlibseat-logind=enabled ) |
30 |
+ if use elogind ; then |
31 |
+ emesonargs+=( -Dlibseat-logind=elogind ) |
32 |
+ elif use systemd; then |
33 |
+ emesonargs+=( -Dlibseat-logind=systemd ) |
34 |
else |
35 |
emesonargs+=( -Dlibseat-logind=disabled ) |
36 |
fi |
37 |
|
38 |
diff --git a/sys-auth/seatd/seatd-9999.ebuild b/sys-auth/seatd/seatd-9999.ebuild |
39 |
index 4191667845a..8513ea78566 100644 |
40 |
--- a/sys-auth/seatd/seatd-9999.ebuild |
41 |
+++ b/sys-auth/seatd/seatd-9999.ebuild |
42 |
@@ -34,8 +34,10 @@ src_configure() { |
43 |
$(meson_feature server) |
44 |
) |
45 |
|
46 |
- if use elogind || use systemd; then |
47 |
- emesonargs+=( -Dlibseat-logind=enabled ) |
48 |
+ if use elogind ; then |
49 |
+ emesonargs+=( -Dlibseat-logind=elogind ) |
50 |
+ elif use systemd; then |
51 |
+ emesonargs+=( -Dlibseat-logind=systemd ) |
52 |
else |
53 |
emesonargs+=( -Dlibseat-logind=disabled ) |
54 |
fi |