commit:     d666607ed67d41f6f9e5601d7bbd438b41cfd768
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 07:45:40 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 07:46:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d666607e

sys-apps/systemd: conditionally build tests

We actually already do this for sys-apps/systemd-utils but didn't end up
doing it for sys-apps/systemd until now. Noticed during a slooow build on
one of our altarches, makes a big difference.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/systemd/systemd-252.7.ebuild    | 1 +
 sys-apps/systemd/systemd-253.3-r1.ebuild | 1 +
 sys-apps/systemd/systemd-9999.ebuild     | 1 +
 3 files changed, 3 insertions(+)

diff --git a/sys-apps/systemd/systemd-252.7.ebuild 
b/sys-apps/systemd/systemd-252.7.ebuild
index 0554f6f5accf..b35c799db45f 100644
--- a/sys-apps/systemd/systemd-252.7.ebuild
+++ b/sys-apps/systemd/systemd-252.7.ebuild
@@ -297,6 +297,7 @@ multilib_src_configure() {
                $(meson_native_use_bool kmod)
                $(meson_use lz4)
                $(meson_use lzma xz)
+               $(meson_use test tests)
                $(meson_use zstd)
                $(meson_native_use_bool iptables libiptc)
                $(meson_native_use_bool openssl)

diff --git a/sys-apps/systemd/systemd-253.3-r1.ebuild 
b/sys-apps/systemd/systemd-253.3-r1.ebuild
index f7e3c4df5619..f43b489d4520 100644
--- a/sys-apps/systemd/systemd-253.3-r1.ebuild
+++ b/sys-apps/systemd/systemd-253.3-r1.ebuild
@@ -299,6 +299,7 @@ multilib_src_configure() {
                $(meson_native_use_bool kmod)
                $(meson_use lz4)
                $(meson_use lzma xz)
+               $(meson_use test tests)
                $(meson_use zstd)
                $(meson_native_use_bool iptables libiptc)
                $(meson_native_use_bool openssl)

diff --git a/sys-apps/systemd/systemd-9999.ebuild 
b/sys-apps/systemd/systemd-9999.ebuild
index 595551b2bfaf..262f3350c7a1 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -298,6 +298,7 @@ multilib_src_configure() {
                $(meson_native_use_bool kmod)
                $(meson_use lz4)
                $(meson_use lzma xz)
+               $(meson_use test tests)
                $(meson_use zstd)
                $(meson_native_use_bool iptables libiptc)
                $(meson_native_use_bool openssl)

Reply via email to