summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-04 15:56:13 -0500
committerSam James <sam@gentoo.org>2024-03-05 04:46:44 +0000
commitac69d960ed0ec5cd89a08a3b602de8499530501e (patch)
treeab3ac15cdf8f950b2eec230014f192e9e116b645 /sys-apps
parentsys-apps/uutils-coreutils: mark as LTO-unsafe (diff)
downloadgentoo-ac69d960ed0ec5cd89a08a3b602de8499530501e.tar.gz
gentoo-ac69d960ed0ec5cd89a08a3b602de8499530501e.tar.bz2
gentoo-ac69d960ed0ec5cd89a08a3b602de8499530501e.zip
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@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild4
1 files changed, 4 insertions, 0 deletions
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