summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2018-11-20 21:17:19 +0100
committerDirkjan Ochtman <djc@gentoo.org>2018-11-20 21:17:34 +0100
commit3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808 (patch)
tree25a23ca61e4fc4619d02ce3e6ac0db4a55405136 /dev-lang
parentsys-power/suspend: drop old (diff)
downloadgentoo-3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808.tar.gz
gentoo-3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808.tar.bz2
gentoo-3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808.zip
dev-lang/rust: only run llvm_pkg_setup when using system-llvm
Fixes: https://bugs.gentoo.org/671526 Signed-off-by: Dirkjan Ochtman <djc@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/rust/rust-1.30.1-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.30.1-r1.ebuild b/dev-lang/rust/rust-1.30.1-r1.ebuild
index 5133dec80f51..3984df3686bb 100644
--- a/dev-lang/rust/rust-1.30.1-r1.ebuild
+++ b/dev-lang/rust/rust-1.30.1-r1.ebuild
@@ -87,7 +87,9 @@ pkg_pretend() {
pkg_setup() {
pre_build_checks
python-any-r1_pkg_setup
- llvm_pkg_setup
+ if use system-llvm; then
+ llvm_pkg_setup
+ fi
}
src_prepare() {