This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Apply bitrig change to lib/locale.t too
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Thu, 22 Aug 2013 15:11:29 +0000 (16:11 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Thu, 22 Aug 2013 16:09:20 +0000 (17:09 +0100)
This change appears to have entered the bitrig source tree via
openbsd source merge.

lib/locale.t

index 31d97e5..097f297 100644 (file)
@@ -621,7 +621,7 @@ if (-x "/usr/bin/locale" && open(LOCALES, "/usr/bin/locale -a 2>/dev/null|")) {
         trylocale($_);
     }
     close(LOCALES);
-} elsif ($^O eq 'openbsd' && -e '/usr/share/locale') {
+} elsif (($^O eq 'openbsd' || $^O eq 'bitrig' ) && -e '/usr/share/locale') {
 
    # OpenBSD doesn't have a locale executable, so reading /usr/share/locale
    # is much easier and faster than the last resort method.