commit: ac69d960ed0ec5cd89a08a3b602de8499530501e Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Mon Mar 4 20:56:13 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 5 04:46:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac69d960
sys-apps/uutils-coreutils: guarantee the use of system deps Set the magic cargo environment variable to error out if system dependency autodetection fails. We expect it to work, since it's in DEPEND, but better to actually guarantee it. Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild b/sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild index 01082d0ebeb1..a59b37bd4e89 100644 --- a/sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild +++ b/sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild @@ -341,6 +341,10 @@ src_compile() { # normally cargo_src_compile sets this for us, but we don't use it filter-lto + # By default, the crate uses a system version if it can. This just guarantees + # that it will error out instead of building a vendored copy. + export RUSTONIG_SYSTEM_LIBONIG=1 + makeargs=( # Disable output synchronisation as make calls cargo -Onone