From 39be5039adbec64a10ae686c35bc93ec5f3fca60 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Mon, 17 Jan 2000 14:19:54 +0000 Subject: undefined LINGUAS, autoconf/automake doesn't like multiple languages. defined a RPM_INSTALL_LANG hopefully for next distro rpm will support it. --- perl-install/lang.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 624dc20ab..e100e6a44 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -206,7 +206,9 @@ sub set { $ENV{LC_ALL} = $lang; $ENV{LANG} = $languages{$lang}[2]; $ENV{LANGUAGE} = $languages{$lang}[3]; - $ENV{LINGUAS} = $languages{$lang}[3]; +#- apparently autoconf/automake doesn't like LINGUAS having a list of values +#- $ENV{LINGUAS} = $languages{$lang}[3]; + $ENV{RPM_INSTALL_LANG} = $languages{$lang}[3]; local $_ = $languages{$lang}[1]; s/iso-8859-1$/iso-8859-15/; @@ -220,6 +222,7 @@ sub set { delete $ENV{LANG}; delete $ENV{LC_ALL}; delete $ENV{LINGUAS}; + delete $ENV{RPM_INSTALL_LANG}; } } @@ -231,7 +234,7 @@ sub write { my $h = { LC_ALL => $lang }; if (my $l = $languages{$lang}) { - add2hash $h, { LANG => $l->[2], LANGUAGE => $l->[2], LINGUAS => $l->[3] }; + add2hash $h, { LANG => $l->[2], LANGUAGE => $l->[2], RPM_LANG_INSTALL => $l->[3] }; my $c = $charsets{$l->[1] || ''}; if ($c && $c->[0] && $c->[1]) { -- cgit v1.2.1