summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@users.noreply.github.com>2023-02-07 18:17:02 -0700
committerSam James <sam@gentoo.org>2023-02-21 05:13:27 +0000
commit36bc3a31d2ec1b87aa10fe4239b31838717f82db (patch)
tree857c8c664541e5864d104af04d0cdd2e3802f682 /dev-lang/ghc
parentapp-emacs/groovy-emacs-modes: new package; add 2.1 (diff)
downloadgentoo-36bc3a31d2ec1b87aa10fe4239b31838717f82db.tar.gz
gentoo-36bc3a31d2ec1b87aa10fe4239b31838717f82db.tar.bz2
gentoo-36bc3a31d2ec1b87aa10fe4239b31838717f82db.zip
dev-lang/ghc: Force C.utf8 locale on all versions
Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1289 Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/ghc')
-rw-r--r--dev-lang/ghc/ghc-9.0.2-r3.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/ghc/ghc-9.0.2-r3.ebuild b/dev-lang/ghc/ghc-9.0.2-r3.ebuild
index 21f2dedfd9de..cf9330be391d 100644
--- a/dev-lang/ghc/ghc-9.0.2-r3.ebuild
+++ b/dev-lang/ghc/ghc-9.0.2-r3.ebuild
@@ -424,6 +424,11 @@ src_unpack() {
}
src_prepare() {
+ # Force the use of C.utf8 locale
+ # <https://github.com/gentoo-haskell/gentoo-haskell/issues/1287>
+ # <https://github.com/gentoo-haskell/gentoo-haskell/issues/1289>
+ export LC_ALL=C.utf8
+
ghc_setup_cflags
# ghc-9.0.2 release anomaly