Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 294817 Details for
Bug 393203
toolchain.eclass, toolchain-binutils.eclass: Replace "multislot" USE flag with TOOLCHAIN_MULTISLOT variable
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for toolchain.eclass and toolchain-binutils.eclass
eclasses.patch (text/plain), 1.73 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2011-12-05 02:38:03 UTC
(
hide
)
Description:
Patch for toolchain.eclass and toolchain-binutils.eclass
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2011-12-05 02:38:03 UTC
Size:
1.73 KB
patch
obsolete
>--- toolchain.eclass >+++ toolchain.eclass >@@ -81,7 +81,7 @@ > > > #---->> SLOT+IUSE logic <<---- >-IUSE="build multislot nls nptl test vanilla" >+IUSE="build nls nptl test vanilla" > > if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then > IUSE+=" altivec cxx fortran nocxx" >@@ -104,7 +104,7 @@ > fi > > # Support upgrade paths here or people get pissed >-if use multislot ; then >+if [[ -n ${TOOLCHAIN_MULTISLOT} ]] ; then > SLOT="${CTARGET}-${GCC_CONFIG_VER}" > elif is_crosscompile; then > SLOT="${CTARGET}-${GCC_BRANCH_VER}" >@@ -740,7 +740,7 @@ > ewarn "and this problem has been corrected in >=sys-devel/gcc-config-1.3.10-r1." > fi > >- if ! is_crosscompile && ! use multislot && [[ ${GCCMAJOR}.${GCCMINOR} == 3.4 ]] ; then >+ if ! is_crosscompile && [[ -z ${TOOLCHAIN_MULTISLOT} ]] && [[ ${GCCMAJOR}.${GCCMINOR} == 3.4 ]] ; then > echo > ewarn "You should make sure to rebuild all your C++ packages when" > ewarn "upgrading between different versions of gcc. For example," >@@ -2048,7 +2048,7 @@ > > # If we're using multislot, just run gcc-config if we're installing > # to the same profile as the current one. >- use multislot && return $([[ ${curr_config_ver} == ${GCC_CONFIG_VER} ]]) >+ [[ -n ${TOOLCHAIN_MULTISLOT} ]] && return $([[ ${curr_config_ver} == ${GCC_CONFIG_VER} ]]) > > if [[ ${curr_branch_ver} == ${GCC_BRANCH_VER} ]] ; then > return 0 >--- toolchain-binutils.eclass >+++ toolchain-binutils.eclass >@@ -77,11 +77,11 @@ > else > LICENSE="|| ( GPL-2 LGPL-2 )" > fi >-IUSE="nls multitarget multislot static-libs test vanilla" >+IUSE="nls multitarget static-libs test vanilla" > if version_is_at_least 2.19 ; then > IUSE+=" zlib" > fi >-if use multislot ; then >+if [[ -n ${TOOLCHAIN_MULTISLOT} ]] ; then > SLOT="${CTARGET}-${BVER}" > elif is_cross ; then > SLOT="${CTARGET}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 393203
: 294817