add explicit dependency on the ::Install::Files module that ExtUtils::Depends uses
[p5sagit/Devel-Declare.git] / Makefile.PL
index 5ef9cee..b127727 100644 (file)
@@ -3,7 +3,7 @@ use warnings FATAL => 'all';
 
 use 5.008001;
 use ExtUtils::MakeMaker;
-(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+(do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
 use ExtUtils::Depends;
 my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check');
@@ -29,6 +29,7 @@ WriteMakefile(
 
         # minimum version that depends on ExtUtils::Depends 0.302
         'B::Hooks::OP::Check' => '0.19',
+        'B::Hooks::OP::Check::Install::Files' => '0.19',
     },
 
     PREREQ_PM => {
@@ -75,6 +76,7 @@ WriteMakefile(
             'Nick Perez <nperez@cpan.org>',
             'Yanick Champoux <yanick@babyl.dyndns.org>',
         ],
+        x_deprecated => 1,
     },
 
     C => [ 'Declare.c' ],