Gentoo Archives: gentoo-commits

From: Dirkjan Ochtman <djc@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/
Date: Tue, 20 Nov 2018 20:17:53
Message-Id: 1542745054.3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808.djc@gentoo
1 commit: 3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808
2 Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 20 20:17:19 2018 +0000
4 Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 20 20:17:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ffd0a77
7
8 dev-lang/rust: only run llvm_pkg_setup when using system-llvm
9
10 Fixes: https://bugs.gentoo.org/671526
11 Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13
14 dev-lang/rust/rust-1.30.1-r1.ebuild | 4 +++-
15 1 file changed, 3 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-lang/rust/rust-1.30.1-r1.ebuild b/dev-lang/rust/rust-1.30.1-r1.ebuild
18 index 5133dec80f5..3984df3686b 100644
19 --- a/dev-lang/rust/rust-1.30.1-r1.ebuild
20 +++ b/dev-lang/rust/rust-1.30.1-r1.ebuild
21 @@ -87,7 +87,9 @@ pkg_pretend() {
22 pkg_setup() {
23 pre_build_checks
24 python-any-r1_pkg_setup
25 - llvm_pkg_setup
26 + if use system-llvm; then
27 + llvm_pkg_setup
28 + fi
29 }
30
31 src_prepare() {