X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=7b6ead1f995d6f319412b516b212e399c60e3d00;hb=c6ce65ac85c6441b93532f7d51a520b12c4c8f66;hp=47def6d0e4d85a9a5eb4b51c6d64d01ea5b9a8ae;hpb=29d038983d1a2537a404dd78e7c255cc38318e84;p=catagits%2FWeb-Simple.git diff --git a/Makefile.PL b/Makefile.PL index 47def6d..7b6ead1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,10 +13,10 @@ my %WriteMakefileArgs = ( 'meta-spec' => { version => 2 }, dynamic_config => 0, resources => { - # r/w: p5sagit@git.shadowcat.co.uk:Web-Simple.git + # r/w: catagits@git.shadowcat.co.uk:Web-Simple.git repository => { - url => 'git://git.shadowcat.co.uk/p5sagit/Web-Simple.git', - web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Web-Simple.git', + url => 'git://git.shadowcat.co.uk/catagits/Web-Simple.git', + web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits/Web-Simple.git', type => 'git', }, bugtracker => { @@ -78,6 +78,9 @@ for (qw(configure build test runtime)) { $WriteMakefileArgs{MIN_PERL_VERSION} = delete $WriteMakefileArgs{PREREQ_PM}{perl} || 0; +die 'attention developer: you need to do a sane meta merge here!' + if keys %{$WriteMakefileArgs{BUILD_REQUIRES}}; + $WriteMakefileArgs{BUILD_REQUIRES} = { %{$WriteMakefileArgs{BUILD_REQUIRES} || {}}, %{delete $WriteMakefileArgs{TEST_REQUIRES}} @@ -91,4 +94,13 @@ $WriteMakefileArgs{PREREQ_PM} = { delete $WriteMakefileArgs{CONFIGURE_REQUIRES} if $eumm_version < 6.51_03; +delete $WriteMakefileArgs{MIN_PERL_VERSION} + if $eumm_version < 6.48; + +delete @WriteMakefileArgs{qw(META_ADD META_MERGE)} + if $eumm_version < 6.46; + +delete $WriteMakefileArgs{LICENSE} + if $eumm_version < 6.31; + WriteMakefile(%WriteMakefileArgs);