diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index c370650c8d057..08024cc91f1c6 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -92,7 +92,7 @@ IUSE="cxx multislot multitarget nls static-libs test vanilla" if version_is_at_least 2.19 ; then IUSE+=" zlib" fi -if ! version_is_at_least 2.23.90 || [[ ${BTYPE} != "rel" ]] || is_cross || use multislot ; then +if ! version_is_at_least 2.25 || [[ ${BTYPE} != "rel" ]] || is_cross || use multislot ; then SLOT="${BVER}" else SLOT="0" diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b81dbb004cd51..d0bc068df3448 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -160,8 +160,11 @@ IUSE+=" ${IUSE_DEF[*]/#/+}" # Support upgrade paths here or people get pissed if ! tc_version_is_at_least 4.7 || is_crosscompile || use multislot || [[ ${GCC_PV} == *_alpha* ]] ; then SLOT="${GCC_CONFIG_VER}" -else +elif ! tc_version_is_at_least 5.0 ; then SLOT="${GCC_BRANCH_VER}" +else + # Upstream changed versioning w/gcc-5+, so SLOT matches major only. #555164 + SLOT="${GCCMAJOR}" fi #---->> DEPEND <<---- diff --git a/sys-devel/binutils/binutils-2.25.1-r1.ebuild b/sys-devel/binutils/binutils-2.25.1-r1.ebuild index f761283e64519..772def69dadfd 100644 --- a/sys-devel/binutils/binutils-2.25.1-r1.ebuild +++ b/sys-devel/binutils/binutils-2.25.1-r1.ebuild @@ -8,4 +8,4 @@ PATCHVER="1.1" ELF2FLT_VER="" inherit toolchain-binutils -KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd -sparc-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd -sparc-fbsd ~x86-fbsd"