From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5D24138334 for ; Tue, 20 Nov 2018 20:17:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55794E0936; Tue, 20 Nov 2018 20:17:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D77FE0936 for ; Tue, 20 Nov 2018 20:17:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAD16335CA6 for ; Tue, 20 Nov 2018 20:17:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 13FF842E for ; Tue, 20 Nov 2018 20:17:48 +0000 (UTC) From: "Dirkjan Ochtman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" Message-ID: <1542745054.3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808.djc@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/rust/rust-1.30.1-r1.ebuild X-VCS-Directories: dev-lang/rust/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: 3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808 X-VCS-Branch: master Date: Tue, 20 Nov 2018 20:17:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d257e690-8fec-40ff-aec4-1094c850f5a1 X-Archives-Hash: 846d55f9762c358f1cef8c282eac4c85 commit: 3ffd0a77e2ebe3f8f4c8a7eceff0ab0403f8e808 Author: Dirkjan Ochtman gentoo org> AuthorDate: Tue Nov 20 20:17:19 2018 +0000 Commit: Dirkjan Ochtman gentoo 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 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() {