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