summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author David Spencer2018-11-17 01:26:44 +0100
committer Willy Sudiarto Raharjo2018-11-17 12:42:50 +0100
commitb78776a9321ec271e8f7f972878dff54f19ea738 (patch)
tree815d43e1ebb5d3c3aadff8e65fdad778158acafb /haskell
parentc17158fb6c4738defdacb8dfbe17f5d6ffbd07fd (diff)
downloadslackbuilds-b78776a9321ec271e8f7f972878dff54f19ea738.tar.gz
haskell/haskell-idna: Fixed SlackBuild.
This won't build without a Unicode locale. Thanks to samtux. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell')
-rw-r--r--haskell/haskell-idna/haskell-idna.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/haskell/haskell-idna/haskell-idna.SlackBuild b/haskell/haskell-idna/haskell-idna.SlackBuild
index 2275cd41e6..0584bd5c73 100644
--- a/haskell/haskell-idna/haskell-idna.SlackBuild
+++ b/haskell/haskell-idna/haskell-idna.SlackBuild
@@ -74,6 +74,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Build fails if the locale isn't Unicode, so set this for the build:
+export LANG=en_US.UTF-8
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup configure \