summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2017-12-26 10:38:23 -0600
committerMatthias Maier <tamiko@gentoo.org>2018-02-01 17:54:35 -0600
commita5a55ab97b8ed6c250b86aa2e6c91a329bd3d3a1 (patch)
tree401b523aa907ad802b8d76c6eaa8e607c75e7eda
parentsys-apps/portage: version bump to 2.3.23 (diff)
downloadgentoo-a5a55ab97b8ed6c250b86aa2e6c91a329bd3d3a1.tar.gz
gentoo-a5a55ab97b8ed6c250b86aa2e6c91a329bd3d3a1.tar.bz2
gentoo-a5a55ab97b8ed6c250b86aa2e6c91a329bd3d3a1.zip
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
-rw-r--r--eclass/toolchain.eclass8
1 files 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