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
commit997935c9509225e8baccac3497b0a35f5a110376 (patch)
treeb7720b0490b98c4752bf8e1cdb17dda3a40d5422 /eclass/toolchain-binutils.eclass
parentStable on ppc64; bug #128107 (diff)
downloadgentoo-2-997935c9509225e8baccac3497b0a35f5a110376.tar.gz
gentoo-2-997935c9509225e8baccac3497b0a35f5a110376.tar.bz2
gentoo-2-997935c9509225e8baccac3497b0a35f5a110376.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@:' \