Try Schwern's latest Test::Builder offering on a stock perl and a threaded blead
[dbsrgits/DBIx-Class.git] / Makefile.PL
index 5212dcd..1b45288 100644 (file)
@@ -12,6 +12,7 @@ use inc::Module::Install 1.06;
 # for that)
 BEGIN {
   $Module::Install::AUTHOR = 0 if (grep { $ENV{"PERL5_${_}_IS_RUNNING"} } (qw/CPANM CPANPLUS CPAN/) );
+  makemaker_args( NORECURS => 1 );
 }
 
 homepage 'http://www.dbix-class.org/';
@@ -39,6 +40,9 @@ install_script (qw|
 ### All of them *MUST* go to DBIx::Class::Optional::Dependencies
 ###
 my $runtime_requires = {
+  # FIXME - temporary workaround for RT#83143 (Path::Class)
+  'File::Spec'               => '3.30',
+
   # FIXME - temporary, needs throwing out for something more efficient
   'Data::Compare'            => '1.22',
 
@@ -154,6 +158,7 @@ if ($Module::Install::AUTHOR  and ! $ENV{MAKELEVEL}) {
   # We need the MM facilities to generate the pieces for the final MM run.
   # Just instantiate a throaway object here
   my $mm_proto = ExtUtils::MakeMaker->new({
+    NORECURS => 1,
     NAME => Meta->name || die 'The Module::Install metadata must be available at this point but is not - did you rearrange the Makefile.PL...?',
   });