Change 16140: Make MM_MacOS work with new MakeMaker

[email protected] (Chris Nandor) Wed, 24 Apr 2002 15:36:07 -0400
Newsgroups perl.perl5.changes.mac
Message-ID <p0510031eb8ecb9a0758d@[10.0.1.177]>
Change 16140 by pudge@pudge-mobile on 2002/04/24 18:14:05

	Make MM_MacOS work with new MakeMaker

Affected files ...

.... //depot/macperl/macos/lib/ExtUtils/MM_MacOS.pm#2 edit

Differences ...

==== //depot/macperl/macos/lib/ExtUtils/MM_MacOS.pm#2 (text) ====
Index: perl/macos/lib/ExtUtils/MM_MacOS.pm
--- perl/macos/lib/ExtUtils/MM_MacOS.pm.~1~	Wed Apr 24 12:30:06 2002
+++ perl/macos/lib/ExtUtils/MM_MacOS.pm	Wed Apr 24 12:30:06 2002
@@ -6,7 +6,9 @@
 #   Author:  Matthias Neeracher <[email protected]>
 
 package ExtUtils::MM_MacOS;
-unshift @MM::ISA, 'ExtUtils::MM_MacOS';
+require ExtUtils::MM_Any;
+require ExtUtils::MM_Unix;
+@ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
 
 use Config;
 use Cwd 'cwd';
@@ -170,6 +172,18 @@
     return '';
 }
 
+=item maybe_command
+
+Returns true, if the argument is likely to be a command.
+
+=cut
+
+sub maybe_command {
+    my($self,$file) = @_;
+    return $file if ! -d $file;
+    return;
+}
+
 =item guess_name
 
 Guess the name of this package by examining the working directory's
End of Patch.