Release commit for 0.000002
[scpubgit/JSON-Diffable.git] / Makefile.PL
index 4736487..0451c5d 100644 (file)
@@ -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',
-);;
+);