summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2010-09-24 14:48:48 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2010-09-24 14:48:48 +0000
commitee2132c9153ef7a94f1c272cdc163d9194cdd86b (patch)
tree4c305b9a884cc1ce3b20d0b44813c1abe2574a89 /gnu
parentd48017d2b4dad328779d6aa278d2761148dfe60e (diff)
Perl 5.12.2 from CPAN
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/dist/Module-CoreList/Makefile.PL35
1 files changed, 4 insertions, 31 deletions
diff --git a/gnu/usr.bin/perl/dist/Module-CoreList/Makefile.PL b/gnu/usr.bin/perl/dist/Module-CoreList/Makefile.PL
index 6abce521014..a619db9fe74 100644
--- a/gnu/usr.bin/perl/dist/Module-CoreList/Makefile.PL
+++ b/gnu/usr.bin/perl/dist/Module-CoreList/Makefile.PL
@@ -1,45 +1,18 @@
use ExtUtils::MakeMaker;
-push @extra, 'INSTALLDIRS' => 'perl' if $] >= 5.008009 and $] < 5.012;
-
-push @extra, 'META_MERGE' => {
- resources => {
- repository => 'git://perl5.git.perl.org/perl.git',
- bugtracker => 'https://rt.perl.org/rt3/',
- homepage => "http://dev.perl.org/",
- },
- } unless $ExtUtils::MakeMaker::VERSION < 6.46;
-
+push @extra, 'INSTALLDIRS' => 'perl' if $] >= 5.008009;
WriteMakefile
(
'NAME' => 'Module::CoreList',
'VERSION_FROM' => 'lib/Module/CoreList.pm',
- 'ABSTRACT_FROM' => 'lib/Module/CoreList.pod',
+ 'ABSTRACT_FROM' => 'lib/Module/CoreList.pm',
'PREREQ_PM' => {
- 'Test::More' => '0',
- 'List::Util' => 0,
- 'version' => 0.88,
+ 'Test::More' => '0',
},
- 'EXE_FILES' => [ _scripts() ],
- 'INSTALLDIRS' => ($] < 5.011 ? 'perl' : 'site'),
+ 'EXE_FILES' => [ 'corelist' ],
'PL_FILES' => {},
LICENSE => 'perl',
@extra,
)
;
-
-sub _scripts {
- my $scripts = 'corelist';
- if ( $] >= 5.008009 and !$ENV{PERL_CORE} ) {
- require Config;
- my $version = sprintf("%vd",$^V);
- if ( $Config::Config{versiononly} and
- $Config::Config{startperl} =~ /\Q$version\E$/ ) {
- require File::Copy;
- File::Copy::copy( 'corelist', "corelist$version" );
- $scripts = "corelist$version";
- }
- }
- return $scripts;
-}