commit:     df1da878523127649b3c8e17b29e5ad176ebd25d
Author:     zyxhere💭 <zyx <AT> envs <DOT> net>
AuthorDate: Thu Jan 15 22:49:32 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 16 15:36:35 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df1da878

sys-devel/wild: Unbundle zstd

Signed-off-by: zyxhere💭 <zyx <AT> envs.net>
Part-of: https://github.com/gentoo/gentoo/pull/45383
Closes: https://github.com/gentoo/gentoo/pull/45383
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/wild/wild-9999.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/sys-devel/wild/wild-9999.ebuild b/sys-devel/wild/wild-9999.ebuild
index 1beae82223ab..505a0598e4cb 100644
--- a/sys-devel/wild/wild-9999.ebuild
+++ b/sys-devel/wild/wild-9999.ebuild
@@ -269,8 +269,15 @@ SLOT="0"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
+# TODO: blake3 still bundled?
+# https://github.com/BLAKE3-team/BLAKE3/issues/130
+# https://github.com/BLAKE3-team/BLAKE3/issues/425
+RDEPEND="app-arch/zstd:="
+DEPEND="${RDEPEND}"
+
 # Upstream uses LLD and Clang for running some of their tests
 BDEPEND="
+       virtual/pkgconfig
        test? ( $(llvm_gen_dep '
                        llvm-core/clang:${LLVM_SLOT}=
                        llvm-core/lld:${LLVM_SLOT}=
@@ -279,6 +286,8 @@ BDEPEND="
 "
 
 pkg_setup() {
+       # zstd-sys https://wiki.gentoo.org/wiki/Project:Rust/sys_crates#zstd-sys
+       export ZSTD_SYS_USE_PKG_CONFIG=1
        rust_pkg_setup
        use test && llvm-r2_pkg_setup
 }

Reply via email to