summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-04 05:26:04 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-04 05:26:04 +0000
commitaa9ff8c91fda0dd6eb34dbc3c9ab70f7ead4bb86 (patch)
treee4da175e30a339b26156b2eca3690747aa908ecc /eclass
parentUpdated i18n-misc patch. (Manifest recommit) (diff)
downloadgentoo-2-aa9ff8c91fda0dd6eb34dbc3c9ab70f7ead4bb86.tar.gz
gentoo-2-aa9ff8c91fda0dd6eb34dbc3c9ab70f7ead4bb86.tar.bz2
gentoo-2-aa9ff8c91fda0dd6eb34dbc3c9ab70f7ead4bb86.zip
make sure we dont kill our uclibc users ;)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 752b6dd0bddd..d8181f4da32d 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.9 2004/12/02 19:39:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.10 2004/12/04 05:26:04 vapier Exp $
# We install binutils into CTARGET-VERSION specific directories. This lets
# us easily merge multiple versions for multiple targets (if we wish) and
@@ -50,7 +50,12 @@ apply_binutils_updates() {
cd ${S}
[ -n "${PATCHVER}" ] && epatch ${WORKDIR}/patch
- [ -n "${UCLIBC_PATCHVER}" ] && epatch ${WORKDIR}/uclibc-patches
+ if [ -n "${UCLIBC_PATCHVER}" ] ; then
+ epatch ${WORKDIR}/uclibc-patches
+ elif [[ ${PORTAGE_LIBC} = uClibc ]] ; then
+ die "sorry, but this binutils doesn't yet support uClibc :("
+ fi
+
# Fix po Makefile generators
sed -i \