This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert Makefile.PL change from #25355
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 6 Sep 2005 16:06:44 +0000 (16:06 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 6 Sep 2005 16:06:44 +0000 (16:06 +0000)
p4raw-id: //depot/perl@25359

ext/IO/Makefile.PL

index 6855ee4..095d7c2 100644 (file)
@@ -1,49 +1,9 @@
-# This -*- perl -*- script makes the Makefile
-
-require 5.006_001;
 use ExtUtils::MakeMaker;
 use Config qw(%Config);
 
-#--- MY package
-
-sub MY::libscan {
-  my($self,$path) = @_;
-
-  return '' 
-       if($path =~ m:/(RCS|CVS|SCCS|\.svn)/: ||
-          $path =~ m:[~%]$: ||
-          $path =~ m:\.(orig|rej)$:
-         );
-  $path;
-}
-
-
-#--- Attempt to find <poll.h>
-
-my $define = "";
-
-unless (exists $Config{'i_poll'}) {
-  my @inc = split(/\s+/, join(" ",$Config{'usrinc'},$Config{'incpth'},$Config{'locincpth'}));
-  foreach $path (@inc) {
-      if(-f $path . "/poll.h") {
-         $define .= "-DI_POLL ";
-         last;
-      }
-  }
-}
-
-#--- Write the Makefile
-
 WriteMakefile(
        VERSION_FROM    => "IO.pm",
        NAME            => "IO",
        OBJECT          => '$(O_FILES)', 
-       DEFINE          => $define,
-       'clean'         => {FILES => join(" ",
-                                       map { "$_ */$_ */*/$_" }
-                                       qw(*% *.html *.b[ac]k *.old *.orig))
-                          },
-       INSTALLDIRS => 'perl',
+       MAN3PODS        => {},          # Pods will be built by installman.
 );