diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-07 00:24:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-07 00:24:50 +0000 |
commit | 782f88b5bb3382c948ad52bea6f7d393dc9ee9e5 (patch) | |
tree | 26483fc93195f612f92ac7c52fad4f0d5f5600d1 /eclass | |
parent | dont screw with SLOTs that dont need it (Manifest recommit) (diff) | |
download | gentoo-2-782f88b5bb3382c948ad52bea6f7d393dc9ee9e5.tar.gz gentoo-2-782f88b5bb3382c948ad52bea6f7d393dc9ee9e5.tar.bz2 gentoo-2-782f88b5bb3382c948ad52bea6f7d393dc9ee9e5.zip |
support upgrade path
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-binutils.eclass | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 4acf91971a3b..aef2b6f9b328 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.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-binutils.eclass,v 1.11 2004/12/05 22:09:51 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.12 2004/12/07 00:24:50 vapier Exp $ # We install binutils into CTARGET-VERSION specific directories. This lets # us easily merge multiple versions for multiple targets (if we wish) and @@ -24,9 +24,13 @@ SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2 LICENSE="|| ( GPL-2 LGPL-2 )" IUSE="nls bootstrap build multitarget uclibc multislot" -use multislot \ - && SLOT="${CTARGET}-${PV}" \ - || SLOT="${CTARGET}" +if use multislot ; then + SLOT="${CTARGET}-${PV}" +elif [[ ${CTARGET} != ${CHOST} ]] ; then + SLOT="${CTARGET}" +else + SLOT="0" +fi DEPEND="virtual/libc nls? ( sys-devel/gettext ) |