Integrate mainline
[p5sagit/p5-mst-13.2.git] / ext / Encode / KR / Makefile.PL
index 12c4d57..df0eeb6 100644 (file)
@@ -3,6 +3,7 @@ use strict;
 use ExtUtils::MakeMaker;
 
 my %tables = (euc_kr_t   => ['euc-kr.ucm',
+                            'macKorean.ucm',
                             'cp949.ucm',
                             ],
              '5601_t'   => ['ksc5601.ucm'],
@@ -130,9 +131,10 @@ sub postamble
                $continuator = '';
            }
        }
-        $str .= $^O eq 'VMS' # In VMS quote to preserve case
-            ? qq{\n\t\$(PERL) $enc2xs -"Q" -o \$\@ -f $table.fnm\n\n}
-            : qq{\n\t\$(PERL) $enc2xs -Q -o \$\@ -f $table.fnm\n\n};
+       my $plib   = $self->{PERL_CORE} ? '"-I$(PERL_LIB)"' : '';
+       my $ucopts = '-"Q"';
+       $str .=  
+           qq{\n\t\$(PERL) $plib $enc2xs $ucopts -o \$\@ -f $table.fnm\n\n};
        open (FILELIST, ">$table.fnm")
            || die "Could not open $table.fnm: $!";
        foreach my $file (@{$tables{$table}})