Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 09 Mar 2020 23:57:30
Message-Id: 1583798240.4acf595771eaaceb14050a938f8e038c90149c15.slyfox@gentoo
1 commit: 4acf595771eaaceb14050a938f8e038c90149c15
2 Author: David Michael <fedora.dm0 <AT> gmail <DOT> com>
3 AuthorDate: Sun Mar 8 15:33:19 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 9 23:57:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4acf5957
7
8 toolchain.eclass: move --build dependencies to BDEPEND
9
10 This allows cross-compiling comilers with a much smaller dependency set.
11
12 Bug: https://bugs.gentoo.org/700898
13 Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
14 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
15
16 eclass/toolchain.eclass | 7 ++++++-
17 1 file changed, 6 insertions(+), 1 deletion(-)
18
19 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
20 index ece57dafbd7..9f435921922 100644
21 --- a/eclass/toolchain.eclass
22 +++ b/eclass/toolchain.eclass
23 @@ -231,7 +231,7 @@ if tc_has_feature graphite ; then
24 RDEPEND+=" graphite? ( >=dev-libs/isl-0.14:0= )"
25 fi
26
27 -DEPEND="${RDEPEND}
28 +BDEPEND="
29 >=sys-devel/bison-1.875
30 >=sys-devel/flex-2.5.4
31 nls? ( sys-devel/gettext )
32 @@ -239,6 +239,7 @@ DEPEND="${RDEPEND}
33 >=dev-util/dejagnu-1.4.4
34 >=sys-devel/autogen-5.5.4
35 )"
36 +DEPEND="${RDEPEND}"
37
38 if tc_has_feature gcj ; then
39 GCJ_DEPS=">=media-libs/libart_lgpl-2.1"
40 @@ -264,6 +265,10 @@ if tc_has_feature zstd ; then
41 DEPEND+=" zstd? ( app-arch/zstd )"
42 fi
43
44 +case ${EAPI:-0} in
45 + 5*|6) DEPEND+=" ${BDEPEND}" ;;
46 +esac
47 +
48 PDEPEND=">=sys-devel/gcc-config-1.7"
49
50 #---->> S + SRC_URI essentials <<----