toolchain.eclass: add SLOT=0 to gmp/mpfr/mpc deps
authorMike Frysinger <vapier@gentoo.org>
Thu, 20 Aug 2015 12:29:34 +0000 (08:29 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 20 Aug 2015 12:29:34 +0000 (08:29 -0400)
eclass/toolchain.eclass

index 7b9ce945888fe1d5d82bb3078c23a518918f0c9c..0e8d8996b7e60846a126144014b13168dafdf7fb 100644 (file)
@@ -172,7 +172,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 >=dev-libs/mpfr-2.4.2"
+       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
@@ -180,7 +180,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"
+tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1:0"
 
 if in_iuse graphite ; then
        if tc_version_is_at_least 5.0 ; then