commit:     3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 20 20:17:19 2018 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Tue Nov 20 20:17:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ffd0a77

dev-lang/rust: only run llvm_pkg_setup when using system-llvm

Fixes: https://bugs.gentoo.org/671526
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-lang/rust/rust-1.30.1-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-lang/rust/rust-1.30.1-r1.ebuild 
b/dev-lang/rust/rust-1.30.1-r1.ebuild
index 5133dec80f5..3984df3686b 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() {

Reply via email to