diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-25 13:34:19 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-25 13:34:19 +0000 |
commit | 8170cb1295a74f5fb68f22e0be2bbfb4d5b3e568 (patch) | |
tree | bc4d5ccde13f44d6f482ecf26fedba511658f0eb /Makefile.SH | |
parent | 5db421000d460f32e95c81901a18f1ba589a1ace (diff) | |
download | perl-8170cb1295a74f5fb68f22e0be2bbfb4d5b3e568.tar.gz |
Allow resetting the locale system for the duration
of the build (Mac OS X default setting LANG=En_US
ist kaputt)
p4raw-id: //depot/perl@12646
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH index 65cf9d8f95..c9cbfe60f2 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -230,6 +230,21 @@ INSTALLPREFIXEXP = $prefix # $installusrbinperl # $versiononly +case "${osname}:${osvers}" in +darwin:*) +$spitshell >>Makefile <<EOF + +# Your locales are broken (osname $osname, osvers $osvers) +# and to avoid the numerous +# perl: warning: Setting locale failed. +# warnings during the build process we reset the locale variables. + +LC_ALL=C +LANG=C +LANGUAGE=C +EOF + ;; +esac ## In the following dollars and backticks do not need the extra backslash. $spitshell >>Makefile <<'!NO!SUBS!' |