diff options
| author | Sam James <sam@gentoo.org> | 2025-05-17 17:43:30 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-05-17 17:43:33 +0100 |
| commit | 757266d34db14e037464c0c6f8c0907a79df7e93 (patch) | |
| tree | 45953285c6073760b8374ee92c80e76f57d8872e /dev-lang/rust/rust-9999.ebuild | |
| parent | 1be23469200504c17d09cee7b528617f66b2d901 (diff) | |
| download | gentoo-757266d34db14e037464c0c6f8c0907a79df7e93.tar.gz gentoo-757266d34db14e037464c0c6f8c0907a79df7e93.tar.bz2 gentoo-757266d34db14e037464c0c6f8c0907a79df7e93.zip | |
dev-lang/rust: use system dev-libs/oniguruma
It's a good idea anyway but it also avoids the C23 issue. We should look
at unbundling the other bits but I'd like to avoid requiring libssh2
if we can help it unconditionally so punting on that for now w/
a comment.
Closes: https://bugs.gentoo.org/956044
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/rust/rust-9999.ebuild')
| -rw-r--r-- | dev-lang/rust/rust-9999.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild index bdaabbaded52..d9eff0ee970e 100644 --- a/dev-lang/rust/rust-9999.ebuild +++ b/dev-lang/rust/rust-9999.ebuild @@ -88,8 +88,10 @@ done LLVM_DEPEND+=( " wasm? ( $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}') )" ) LLVM_DEPEND+=( " $(llvm_gen_dep 'llvm-core/llvm:${LLVM_SLOT}')" ) +# dev-libs/oniguruma is used for documentation BDEPEND="${PYTHON_DEPS} app-eselect/eselect-rust + dev-libs/oniguruma || ( >=sys-devel/gcc-4.7[cxx] >=llvm-core/clang-3.5 @@ -327,6 +329,12 @@ src_configure() { export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)" fi + # Avoid bundled copies of libraries + export RUSTONIG_SYSTEM_LIBONIG=1 + # Need to check if these can be optional + #export LIBSQLITE3_SYS_USE_PKG_CONFIG=1 + #export LIBSSH2_SYS_USE_PKG_CONFIG=1 + filter-lto # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231 local rust_target="" rust_targets="" arch_cflags |
