haskell/haskell-idna: Fixed SlackBuild.

This won't build without a Unicode locale.
Thanks to samtux.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2018-11-17 00:26:44 +00:00 committed by Willy Sudiarto Raharjo
parent c17158fb6c
commit b78776a932
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with 3 additions and 0 deletions

View File

@ -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 \