diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-07 00:09:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-07 00:09:02 +0000 |
commit | fb1b77f73f5aa93e05df9ea7238ffe7483720915 (patch) | |
tree | 31a266275ea3e9da9e16ba1f4d49f57a71b43be1 /eclass | |
parent | version bump (Manifest recommit) (diff) | |
download | gentoo-2-fb1b77f73f5aa93e05df9ea7238ffe7483720915.tar.gz gentoo-2-fb1b77f73f5aa93e05df9ea7238ffe7483720915.tar.bz2 gentoo-2-fb1b77f73f5aa93e05df9ea7238ffe7483720915.zip |
tweak the SLOT logic
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 8f7125ce399e..408f2daa4983 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.62 2004/12/05 21:05:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.63 2004/12/07 00:09:02 vapier Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" @@ -99,9 +99,14 @@ else if [ -n "${HTB_VER}" ] ; then IUSE="${IUSE} boundschecking" fi - use multislot \ - && SLOT="${CTARGET}-${MY_PV_FULL}" \ - || SLOT="${CTARGET}-${MY_PV}" + # Support upgrade paths here or people get pissed + if use multislot ; then + SLOT="${CTARGET}-${MY_PV_FULL}" + elif [[ ${CTARGET} != ${CHOST} ]] ; then + SLOT="${CTARGET}-${MY_PV}" + else + SLOT="${MY_PV}" + fi fi #----<< SLOT+IUSE logic >>---- |