X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=89798e889a4505e2ef6bb867d6c2b7c5cb423d06;hb=8228ee62d5c7a22d126cd19aca3894f9675fc40d;hp=fd0c7f0be85227b0dddde99c9a8438b946d34089;hpb=ffce4b65b2c49bbb04919766c376625d426542f7;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index fd0c7f0..89798e8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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', @@ -75,6 +79,11 @@ my $runtime_requires = { 'Scope::Guard' => '0.03', 'SQL::Abstract' => '1.73', 'Try::Tiny' => '0.07', + + # Technically this is not a core dependency - it is only required + # by the MySQL codepath. However this particular version is bundled + # since 5.10.0 and is a pure-perl module anyway - let it slide + 'Text::Balanced' => '2.00', }; my $build_requires = { @@ -85,6 +94,7 @@ my $build_requires = { my $test_requires = { 'File::Temp' => '0.22', + 'Test::Deep' => '0.101', 'Test::Exception' => '0.31', 'Test::Warn' => '0.21', 'Test::More' => '0.94', @@ -149,6 +159,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...?', });