diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-11-17 00:26:44 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-17 18:42:50 +0700 |
commit | b78776a9321ec271e8f7f972878dff54f19ea738 (patch) | |
tree | 815d43e1ebb5d3c3aadff8e65fdad778158acafb /haskell | |
parent | c17158fb6c4738defdacb8dfbe17f5d6ffbd07fd (diff) |
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.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/haskell/haskell-idna/haskell-idna.SlackBuild b/haskell/haskell-idna/haskell-idna.SlackBuild index 2275cd41e65b..0584bd5c7370 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 \ |