Upgrade to Encode 0.99, from Dan Kogai.
[p5sagit/p5-mst-13.2.git] / ext / Encode / KR / Makefile.PL
index 85afa59..cbcc775 100644 (file)
@@ -2,8 +2,10 @@ use 5.7.2;
 use strict;
 use ExtUtils::MakeMaker;
 
-my %tables = (EUC_KR   => ['euc-kr.enc'],
-             KSC5601  => ['ksc5601.enc'],
+my %tables = (euc_kr_t   => ['euc-kr.ucm',
+                            'cp949.ucm',
+                            ],
+             '5601_t'   => ['ksc5601.ucm'],
              );
 
 my $name = 'KR';
@@ -84,6 +86,7 @@ Encode_XSEncoding(pTHX_ encode_t *enc)
 }
 
 MODULE = Encode::$name PACKAGE = Encode::$name
+PROTOTYPES: DISABLE
 BOOT:
 {
 END
@@ -126,7 +129,9 @@ sub postamble
                $continuator = '';
            }
        }
-       $str .= "\n\t\$(PERL) $compile -o \$\@ -f $table.fnm\n\n";
+        $str .= $^O eq 'VMS' # In VMS quote to preserve case
+            ? qq{\n\t\$(PERL) $compile -"Q" -o \$\@ -f $table.fnm\n\n}
+            : qq{\n\t\$(PERL) $compile -Q -o \$\@ -f $table.fnm\n\n};
        open (FILELIST, ">$table.fnm")
            || die "Could not open $table.fnm: $!";
        foreach my $file (@{$tables{$table}})