summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2010-07-21 21:49:34 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2010-07-21 21:49:34 +0000
commit5c356257dd13b2e89848586553724f150b2b2ea1 (patch)
tree0355645b284c286147e596801f0c35ed70b8eff7 /dev-lang/ghc/ghc-6.4.2.ebuild
parentUse -fno-strict-aliasing to avoid breaking strict-aliasing rules. (diff)
downloadgentoo-2-5c356257dd13b2e89848586553724f150b2b2ea1.tar.gz
gentoo-2-5c356257dd13b2e89848586553724f150b2b2ea1.tar.bz2
gentoo-2-5c356257dd13b2e89848586553724f150b2b2ea1.zip
Fixed build faiures on 'es' locale (bug #202212). Fixed f.i.w on ppc this time.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/ghc/ghc-6.4.2.ebuild')
-rw-r--r--dev-lang/ghc/ghc-6.4.2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-lang/ghc/ghc-6.4.2.ebuild b/dev-lang/ghc/ghc-6.4.2.ebuild
index bae0d5a2929a..2246dfadcba0 100644
--- a/dev-lang/ghc/ghc-6.4.2.ebuild
+++ b/dev-lang/ghc/ghc-6.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.4.2.ebuild,v 1.29 2010/07/14 09:02:35 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.4.2.ebuild,v 1.30 2010/07/21 21:49:33 slyfox Exp $
# Brief explanation of the bootstrap logic:
#
@@ -300,7 +300,9 @@ src_compile() {
$(use_enable X hgl) \
|| die "econf failed"
- emake all datadir="/usr/share/doc/${P}" || die "make failed"
+ # LC_ALL needs to workaround ghc's ParseCmm failure on some (es) locales
+ # bug #202212 / http://hackage.haskell.org/trac/ghc/ticket/4207
+ LC_ALL=C emake all datadir="/usr/share/doc/${P}" || die "make failed"
# the explicit datadir is required to make the haddock entries
# in the package.conf file point to the right place ...