Integrate mainline
[p5sagit/p5-mst-13.2.git] / ext / Encode / TW / Makefile.PL
index 2c981b8..8284ad0 100644 (file)
@@ -4,6 +4,7 @@ use ExtUtils::MakeMaker;
 
 my %tables = (big5_t   => ['big5.ucm',
                            'big5-hkscs.ucm',
+                           'macChintrad.ucm',
                            'cp950.ucm'],
              );
 
@@ -128,9 +129,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}})