Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 01 Feb 2018 23:55:32
Message-Id: 1517529275.a5a55ab97b8ed6c250b86aa2e6c91a329bd3d3a1.tamiko@gentoo
1 commit: a5a55ab97b8ed6c250b86aa2e6c91a329bd3d3a1
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 26 16:38:23 2017 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 1 23:54:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a55ab9
7
8 eclass/toolchain.eclass: Add := operators to a number of critical deps
9
10 We should annotate a number of critical library dependencies of the
11 compiler with := operators to ensure that the compiler gets rebuilt in
12 time.
13
14 TODO: We should also check for FEATURES=preserve-libs / print a warning
15 before attempting to upgrade a library with soname change. Otherwise,
16 users might be off to a rocky ride.
17
18 Closes: https://bugs.gentoo.org/642316
19
20 eclass/toolchain.eclass | 8 ++++----
21 1 file changed, 4 insertions(+), 4 deletions(-)
22
23 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
24 index 504fcabdba0..ef42b338fd3 100644
25 --- a/eclass/toolchain.eclass
26 +++ b/eclass/toolchain.eclass
27 @@ -166,7 +166,7 @@ RDEPEND="sys-libs/zlib
28 tc_version_is_at_least 3 && RDEPEND+=" virtual/libiconv"
29
30 if tc_version_is_at_least 4 ; then
31 - GMP_MPFR_DEPS=">=dev-libs/gmp-4.3.2:0 >=dev-libs/mpfr-2.4.2:0"
32 + GMP_MPFR_DEPS=">=dev-libs/gmp-4.3.2:0= >=dev-libs/mpfr-2.4.2:0="
33 if tc_version_is_at_least 4.3 ; then
34 RDEPEND+=" ${GMP_MPFR_DEPS}"
35 elif in_iuse fortran ; then
36 @@ -174,7 +174,7 @@ if tc_version_is_at_least 4 ; then
37 fi
38 fi
39
40 -tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1:0"
41 +tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1:0="
42
43 if in_iuse objc-gc ; then
44 if tc_version_is_at_least 7 ; then
45 @@ -188,8 +188,8 @@ if in_iuse graphite ; then
46 elif tc_version_is_at_least 4.8 ; then
47 RDEPEND+="
48 graphite? (
49 - >=dev-libs/cloog-0.18.0
50 - >=dev-libs/isl-0.11.1
51 + >=dev-libs/cloog-0.18.0:0=
52 + >=dev-libs/isl-0.11.1:0=
53 )"
54 fi
55 fi