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 531C8138334 for ; Mon, 16 Sep 2019 15:05:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE337E0937; Mon, 16 Sep 2019 15:05:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A35F2E0937 for ; Mon, 16 Sep 2019 15:05:36 +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 5EC0E34B247 for ; Mon, 16 Sep 2019 15:05:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E89FB778 for ; Mon, 16 Sep 2019 15:05:32 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1568646327.17d10010f7e4578ed704a2672c952b18f569727c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/llvm/llvm-10.0.0.9999.ebuild sys-devel/llvm/llvm-9.0.0.9999.ebuild X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 17d10010f7e4578ed704a2672c952b18f569727c X-VCS-Branch: master Date: Mon, 16 Sep 2019 15:05:32 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9b1f3353-89cb-4975-95d6-ea579352ab27 X-Archives-Hash: 262103798191cf1f20df7dc207fbc69a commit: 17d10010f7e4578ed704a2672c952b18f569727c Author: stefson yahoo de> AuthorDate: Mon Sep 16 07:00:02 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Sep 16 15:05:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d10010 sys-devel/llvm: move dev-lang/perl to BDEPEND wrt #694460 dev-lang/perl is a build time dependency of llvm, only during cross compile it must be run by the host (CBUILD) and not the target (CHOST). Moving it to BDEPEND solves the issue of dev-lang/perl and friends getting pulled into the dependency graph as compile time dependencies during cross compile. BDEPEND has been introduced in EAPI=7, so the fix is only possible for >=llvm-9.x Closes: https://bugs.gentoo.org/694460 Signed-off-by: Steffen Kuhn yandex.com> Closes: https://github.com/gentoo/gentoo/pull/12941 Signed-off-by: Michał Górny gentoo.org> sys-devel/llvm/llvm-10.0.0.9999.ebuild | 2 +- sys-devel/llvm/llvm-9.0.0.9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-devel/llvm/llvm-10.0.0.9999.ebuild b/sys-devel/llvm/llvm-10.0.0.9999.ebuild index 0fbb96cebb2..bacec8033f4 100644 --- a/sys-devel/llvm/llvm-10.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-10.0.0.9999.ebuild @@ -55,7 +55,6 @@ RDEPEND=" z3? ( >=sci-mathematics/z3-4.7.1:0=[${MULTILIB_USEDEP}] )" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${RDEPEND} - dev-lang/perl || ( >=sys-devel/gcc-3.0 >=sys-devel/llvm-3.5 ( >=sys-freebsd/freebsd-lib-9.1-r10 sys-libs/libcxx ) ) @@ -75,6 +74,7 @@ DEPEND="${RDEPEND} # installed means llvm-config there will take precedence. RDEPEND="${RDEPEND} !sys-devel/llvm:0" +BDEPEND="dev-lang/perl" PDEPEND="sys-devel/llvm-common gold? ( >=sys-devel/llvmgold-${SLOT} )" diff --git a/sys-devel/llvm/llvm-9.0.0.9999.ebuild b/sys-devel/llvm/llvm-9.0.0.9999.ebuild index abd71ac5d2c..f294d093706 100644 --- a/sys-devel/llvm/llvm-9.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-9.0.0.9999.ebuild @@ -53,7 +53,6 @@ RDEPEND=" z3? ( >=sci-mathematics/z3-4.7.1:0=[${MULTILIB_USEDEP}] )" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${RDEPEND} - dev-lang/perl || ( >=sys-devel/gcc-3.0 >=sys-devel/llvm-3.5 ( >=sys-freebsd/freebsd-lib-9.1-r10 sys-libs/libcxx ) ) @@ -73,6 +72,7 @@ DEPEND="${RDEPEND} # installed means llvm-config there will take precedence. RDEPEND="${RDEPEND} !sys-devel/llvm:0" +BDEPEND="dev-lang/perl" PDEPEND="sys-devel/llvm-common gold? ( >=sys-devel/llvmgold-${SLOT} )"