X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=a20a3a01d712fb6dd44cbc43bcf109d0db13541a;hb=5cbe5b1216f07b5e329f493bd8bdfa5b0aa0f5eb;hp=5212dcd531ed5549b6f36228cdaa8a296e1f6636;hpb=45150bc4f3b983d64477728e2bd8e722c10c7a31;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 5212dcd..a20a3a0 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/'; @@ -154,6 +155,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...?', });