commit:     a5a55ab97b8ed6c250b86aa2e6c91a329bd3d3a1
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 16:38:23 2017 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Feb  1 23:54:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a55ab9

eclass/toolchain.eclass: Add := operators to a number of critical deps

We should annotate a number of critical library dependencies of the
compiler with := operators to ensure that the compiler gets rebuilt in
time.

TODO: We should also check for FEATURES=preserve-libs / print a warning
before attempting to upgrade a library with soname change. Otherwise,
users might be off to a rocky ride.

Closes: https://bugs.gentoo.org/642316

 eclass/toolchain.eclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 504fcabdba0..ef42b338fd3 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -166,7 +166,7 @@ RDEPEND="sys-libs/zlib
 tc_version_is_at_least 3 && RDEPEND+=" virtual/libiconv"
 
 if tc_version_is_at_least 4 ; then
-       GMP_MPFR_DEPS=">=dev-libs/gmp-4.3.2:0 >=dev-libs/mpfr-2.4.2:0"
+       GMP_MPFR_DEPS=">=dev-libs/gmp-4.3.2:0= >=dev-libs/mpfr-2.4.2:0="
        if tc_version_is_at_least 4.3 ; then
                RDEPEND+=" ${GMP_MPFR_DEPS}"
        elif in_iuse fortran ; then
@@ -174,7 +174,7 @@ if tc_version_is_at_least 4 ; then
        fi
 fi
 
-tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1:0"
+tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1:0="
 
 if in_iuse objc-gc ; then
        if tc_version_is_at_least 7 ; then
@@ -188,8 +188,8 @@ if in_iuse graphite ; then
        elif tc_version_is_at_least 4.8 ; then
                RDEPEND+="
                        graphite? (
-                               >=dev-libs/cloog-0.18.0
-                               >=dev-libs/isl-0.11.1
+                               >=dev-libs/cloog-0.18.0:0=
+                               >=dev-libs/isl-0.11.1:0=
                        )"
        fi
 fi

Reply via email to