summaryrefslogtreecommitdiff
path: root/ext/Encode/KR
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-24 20:20:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-24 20:20:53 +0000
commitaf1f55d9c3a7b3b07efc4feaa402d004e3fc2106 (patch)
tree6976f1285040254f98a23cdfc00cc12a4c56ecc7 /ext/Encode/KR
parent247097ea2efccc841110d1988c93056954c2faf7 (diff)
downloadperl-af1f55d9c3a7b3b07efc4feaa402d004e3fc2106.tar.gz
Upgrade to Encode 1.60, from Dan Kogai.
p4raw-id: //depot/perl@16145
Diffstat (limited to 'ext/Encode/KR')
-rw-r--r--ext/Encode/KR/Makefile.PL15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/Encode/KR/Makefile.PL b/ext/Encode/KR/Makefile.PL
index df0eeb68b2..4ba99ab82d 100644
--- a/ext/Encode/KR/Makefile.PL
+++ b/ext/Encode/KR/Makefile.PL
@@ -1,6 +1,7 @@
use 5.7.2;
use strict;
use ExtUtils::MakeMaker;
+use strict;
my %tables = (euc_kr_t => ['euc-kr.ucm',
'macKorean.ucm',
@@ -10,6 +11,20 @@ my %tables = (euc_kr_t => ['euc-kr.ucm',
johab_t => ['johab.ucm'],
);
+unless ($ENV{AGGREGATE_TABLES}){
+ my @ucm;
+ for my $k (keys %tables){
+ push @ucm, @{$tables{$k}};
+ }
+ %tables = ();
+ my $seq = 0;
+ for my $ucm (sort @ucm){
+ # 8.3 compliance !
+ my $t = sprintf ("%s_%02d_t", substr($ucm, 0, 2), $seq++);
+ $tables{$t} = [ $ucm ];
+ }
+}
+
my $name = 'KR';
WriteMakefile(