summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-22 07:57:05 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-22 07:57:05 +0000
commit3a68820cf811863dece468e3ba891e9d5140c804 (patch)
tree1b2d64c01ea672d444648e10598f9fbb4120100e /eclass/toolchain-binutils.eclass
parentStable on ppc64; bug #128107 (diff)
downloadhistorical-3a68820cf811863dece468e3ba891e9d5140c804.tar.gz
historical-3a68820cf811863dece468e3ba891e9d5140c804.tar.bz2
historical-3a68820cf811863dece468e3ba891e9d5140c804.zip
make sure we patch up locale bugs automatically #122216
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r--eclass/toolchain-binutils.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 7ea3c2ecb74e..c79abf7a4683 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.59 2006/04/17 04:05:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.60 2006/04/22 07:57:05 vapier Exp $
# We install binutils into CTARGET-VERSION specific directories. This lets
# us easily merge multiple versions for multiple targets (if we wish) and
@@ -117,6 +117,10 @@ tc-binutils_apply_patches() {
die "sorry, but this binutils doesn't yet support uClibc :("
fi
+ # fix locale issues if possible #122216
+ [[ -e ${FILESDIR}/binutils-configure-LANG.patch ]] \
+ && epatch "${FILESDIR}"/binutils-configure-LANG.patch
+
# Fix po Makefile generators
sed -i \
-e '/^datadir = /s:$(prefix)/@DATADIRNAME@:@datadir@:' \