perl-unicode

[PATCH] correct direction of enc2xs on win32

2003-01-27 16:30:10
The patch below fixes generating Makefile.PL for modules that can
work on Win32, and on versions other than 5.7.3. :)

Thanks,
/Autrijus/

--- Makefile_PL.e2x.orig        Tue Jan 28 06:29:24 2003
+++ Makefile_PL.e2x     Tue Jan 28 06:30:25 2003
@@ -20,7 +20,7 @@
 PATHLOOP:
 for my $d (@Config{qw/bin sitebin vendorbin/}, 
           (split /$Config{path_sep}/o, $ENV{PATH})){
-    for my $f (qw/enc2xs enc2xs5.7.3/){
+    for my $f (map {$_, "$_.bat"} ('enc2xs', "enc2xs$Config{version}")) {
         my $path = File::Spec->catfile($d, $f);
         -r $path and $enc2xs = $path and last PATHLOOP;
     }

Attachment: pgpUpHFkCyKfC.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] correct direction of enc2xs on win32, Autrijus Tang <=