commit: 4a7ef7af201543f94fd1ecdfac5da263c68c343d Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Thu Feb 19 22:26:12 2026 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Thu Feb 19 22:26:42 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a7ef7af
sys-apps/systemd-utils: add riscv32 workaround Bug: https://bugs.gentoo.org/969103 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> sys-apps/systemd-utils/systemd-utils-259.1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys-apps/systemd-utils/systemd-utils-259.1.ebuild b/sys-apps/systemd-utils/systemd-utils-259.1.ebuild index 73eca417ccd6..1ccbb1fe8389 100644 --- a/sys-apps/systemd-utils/systemd-utils-259.1.ebuild +++ b/sys-apps/systemd-utils/systemd-utils-259.1.ebuild @@ -139,7 +139,6 @@ multilib_src_configure() { $(meson_native_use_feature selinux) $(meson_use split-usr split-bin) $(meson_native_use_bool sysusers) - $(meson_use test tests) $(meson_native_use_bool tmpfiles) $(meson_native_use_feature udev blkid) $(meson_native_use_feature udev libmount) @@ -200,6 +199,13 @@ multilib_src_configure() { -Dzshcompletiondir=no ) + # workaround for bug 969103 + if [[ ${CHOST} == riscv32* ]] ; then + emesonargs+=( -Dtests=true ) + else + emesonargs+=( $(meson_use test tests) ) + fi + if use tmpfiles || use udev; then emesonargs+=( $(meson_native_use_feature acl) ) fi
