X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=c35e0d790be1f1eb7a00814b635e8e0e83a13cb3;hb=5b264cb7c747b2e89f5710fc3ccba26abdde2a05;hp=0867c4985f0bcab711d011ed32773db6e4ede211;hpb=14c4f09829a1748e31b63137974ad03becfb86ea;p=p5sagit%2FSafe-Isa.git diff --git a/Makefile.PL b/Makefile.PL index 0867c49..c35e0d7 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,26 +8,28 @@ WriteMakefile( NAME => 'Safe::Isa', VERSION_FROM => 'lib/Safe/Isa.pm', - META_MERGE => { - 'meta-spec' => { version => 2 }, - dynamic_config => 0, + PREREQ_PM => { + 'Exporter' => '5.57', + 'Scalar::Util' => 0, + }, - resources => { - # r/w: p5sagit@git.shadowcat.co.uk:Safe-Isa.git - repository => { - url => 'git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git', - web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git', - type => 'git', - }, - bugtracker => { - mailto => 'bug-Safe-Isa@rt.cpan.org', - web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa', - }, - }, + -f 'META.yml' ? () : ( + META_MERGE => { + 'meta-spec' => { version => 2 }, + dynamic_config => 0, - PREREQ_PM => { - 'Exporter' => 0, - 'Scalar::Util' => 0, + resources => { + # r/w: p5sagit@git.shadowcat.co.uk:Safe-Isa.git + repository => { + url => 'git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git', + web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git', + type => 'git', + }, + bugtracker => { + mailto => 'bug-Safe-Isa@rt.cpan.org', + web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa', + }, + }, }, - }, + ), );