X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=0451c5dad79fb6d5004f148e6f7ed4a1b5e8961a;hb=master;hp=47364876b13f7a82601e457901b36de1c998f141;hpb=8b5ec61e46c4bcc68ea89a7dd70a256545a8b07b;p=scpubgit%2FJSON-Diffable.git diff --git a/Makefile.PL b/Makefile.PL index 4736487..0451c5d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,15 +1,16 @@ use strict; -use warnings; - +use warnings FATAL => 'all'; use ExtUtils::MakeMaker; -my %build_requires => ( +(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; + +my %build_requires = ( 'Test::More' => 0.98, ); my %requires = ( 'strictures' => 1, - 'JSON' => 0, + 'JSON::MaybeXS' => 0, ); # have to do this since old EUMM dev releases miss the eval $VERSION line @@ -36,5 +37,4 @@ WriteMakefile( ) ), ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()), - LICENSE => 'perl', -);; +);