ExtUtils::MakeMaker 6.10_08
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / MM_MacOS.pm
index 9a2fa44..30520ec 100644 (file)
@@ -12,7 +12,7 @@ require ExtUtils::MM_Unix;
 @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
 
 use vars qw($VERSION);
-$VERSION = '1.05';
+$VERSION = '1.06';
 
 use Config;
 use Cwd 'cwd';
@@ -265,7 +265,7 @@ sub macify {
        }
        push(@mac, $_);
     }
-    
+
     return "@mac";
 }
 
@@ -278,8 +278,8 @@ Translate Unix filepaths and shell globs to Mac style.
 sub patternify {
     my($unix) = @_;
     my(@mac);
-    use bytes; # Non-UTF-8 high bytes in the below.
-    
+    use ExtUtils::MakeMaker::bytes; # Non-UTF-8 high bytes below.
+
     foreach (split(/[ \t\n]+/, $unix)) {
        if (m|/|) {
            $_ = ":$_";
@@ -289,7 +289,7 @@ sub patternify {
            push(@mac, $_);
        }
     }
-    
+
     return "@mac";
 }
 
@@ -537,6 +537,7 @@ sub init_dirscan {  # --- File and Directory Lists (.xs .pm .pod etc)
        next if ($name =~ /^\./ or $ignore{$name});
        next unless $self->libscan($name);
        if (-d $name){
+            next if $self->{NORECURS};
            $dir{$name} = $name if (-f ":$name:Makefile.PL");
        } elsif ($name =~ /\.xs$/){
            my($c); ($c = $name) =~ s/\.xs$/.c/;