summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/rust/rust-9999.ebuild')
-rw-r--r--dev-lang/rust/rust-9999.ebuild8
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