1 |
commit: 948d3b8d4986d04868ee201969f6f8fa4df1eb19 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 17 05:28:00 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 17 05:34:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=948d3b8d |
7 |
|
8 |
sys-auth/elogind: conditionally build tests |
9 |
|
10 |
Speeds up build a bit. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
sys-auth/elogind/elogind-246.10-r2.ebuild | 4 +++- |
15 |
1 file changed, 3 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sys-auth/elogind/elogind-246.10-r2.ebuild b/sys-auth/elogind/elogind-246.10-r2.ebuild |
18 |
index 55a49fd04edb..58f402657a19 100644 |
19 |
--- a/sys-auth/elogind/elogind-246.10-r2.ebuild |
20 |
+++ b/sys-auth/elogind/elogind-246.10-r2.ebuild |
21 |
@@ -19,7 +19,8 @@ HOMEPAGE="https://github.com/elogind/elogind" |
22 |
|
23 |
LICENSE="CC0-1.0 LGPL-2.1+ public-domain" |
24 |
SLOT="0" |
25 |
-IUSE="+acl audit +cgroup-hybrid debug doc +pam +policykit selinux" |
26 |
+IUSE="+acl audit +cgroup-hybrid debug doc +pam +policykit selinux test" |
27 |
+RESTRICT="!test? ( test )" |
28 |
|
29 |
BDEPEND=" |
30 |
app-text/docbook-xml-dtd:4.2 |
31 |
@@ -94,6 +95,7 @@ src_configure() { |
32 |
-Dhtml=$(usex doc auto false) |
33 |
-Dpam=$(usex pam true false) |
34 |
-Dselinux=$(usex selinux true false) |
35 |
+ -Dtests=$(usex test true false) |
36 |
-Dutmp=$(usex elibc_musl false true) |
37 |
) |