--- toolchain.eclass.orig 2005-03-12 17:50:03.000000000 +0000 +++ toolchain.eclass.orig 2005-03-12 18:08:24.000000000 +0000 @@ -711,7 +711,7 @@ # Now check to see if we already have a version installed in this # SLOT ... if we do, then bail if it's a minor upgrade (like we # go from 3.3.4 to 3.3.4-r1 vs 3.3.4 to 3.3.5) - local old_gcc_release=$(portageq match ${ROOT} =sys-devel/gcc-${GCC_RELEASE_VER}*) + local old_gcc_release=$(portageq match ${ROOT} =sys-devel/gcc-${PV}*) [[ -n ${old_gcc_release} ]] && return 0 local old_gcc_branch=$(portageq match ${ROOT} =sys-devel/gcc-${GCC_BRANCH_VER}*) [[ -z ${old_gcc_branch} ]] && return 0