From 3e05d2abd57aacda3b602bef3cb38a220684804d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 24 Mar 2005 03:04:47 +0000 Subject: touchup uclibc checks --- eclass/toolchain-binutils.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 53190ea18782..edb3218afac9 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.30 2005/03/12 22:45:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.31 2005/03/24 03:04:47 vapier Exp $ # We install binutils into CTARGET-VERSION specific directories. This lets # us easily merge multiple versions for multiple targets (if we wish) and @@ -28,7 +28,7 @@ SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2 SRC_URI="${SRC_URI} mirror://gentoo/${P}-uclibc-patches-${UCLIBC_PATCHVER}.tar.bz2" LICENSE="|| ( GPL-2 LGPL-2 )" -IUSE="nls multitarget uclibc multislot test" +IUSE="nls multitarget multislot test" if use multislot ; then SLOT="${CTARGET}-${PV}" elif [[ ${CTARGET} != ${CHOST} ]] ; then @@ -62,7 +62,7 @@ apply_binutils_updates() { [[ -n ${PATCHVER} ]] && epatch "${WORKDIR}"/patch if [[ -n ${UCLIBC_PATCHVER} ]] ; then epatch "${WORKDIR}"/uclibc-patches - elif [[ ${PORTAGE_LIBC} == "uClibc" ]] ; then + elif [[ ${CTARGET} == *-uclibc ]] ; then die "sorry, but this binutils doesn't yet support uClibc :(" fi -- cgit v1.2.3-65-gdbad