diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-09-06 16:06:44 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-09-06 16:06:44 +0000 |
commit | 40902b1a555ae1a75d0a35db22ea4584a0d25db9 (patch) | |
tree | bcb9e8740b8c3c816d897d6c142c5b4c56c666a8 /ext/IO | |
parent | 2b77b520a897b2de1a476dfdd714900e49cf942b (diff) | |
download | perl-40902b1a555ae1a75d0a35db22ea4584a0d25db9.tar.gz |
Revert Makefile.PL change from #25355
p4raw-id: //depot/perl@25359
Diffstat (limited to 'ext/IO')
-rw-r--r-- | ext/IO/Makefile.PL | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/ext/IO/Makefile.PL b/ext/IO/Makefile.PL index 6855ee4b57..095d7c2b51 100644 --- a/ext/IO/Makefile.PL +++ b/ext/IO/Makefile.PL @@ -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. ); |