RT58184: Depends on File::Path 2.06_05 (or so)
[dbsrgits/DBIx-Class.git] / Makefile.PL
index 9ec98e2..7aaeaa6 100644 (file)
@@ -49,6 +49,7 @@ my $runtime_requires = {
   'Class::Inspector'         => '1.24',
   'Data::Page'               => '2.00',
   'DBI'                      => '1.609',
+  'File::Path'               => '2.07',
   'MRO::Compat'              => '0.09',
   'Module::Find'             => '0.06',
   'Path::Class'              => '0.18',
@@ -166,7 +167,15 @@ tests_recursive (qw|
 
 # temporary(?) until I get around to fix M::I wrt xt/
 # needs Module::Install::AuthorTests
-recursive_author_tests (qw/xt/);
+eval {
+  recursive_author_tests (qw/xt/);
+  1;
+} || do {
+  my $err = $@;
+  eval { require Module::Install::AuthorTests }
+    || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL:\n\n$@\n";
+  die $@;
+};
 
 
 install_script (qw|