From: Chris Williams Date: Wed, 24 Jun 2009 09:26:40 +0000 (+0100) Subject: Update CPANPLUS::Dist::Build to CPAN version 0.35_01 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=627cd18c09e213761e829fa1e62a6d43a2e9be81;p=p5sagit%2Fp5-mst-13.2.git Update CPANPLUS::Dist::Build to CPAN version 0.35_01 --- diff --git a/lib/CPANPLUS/Dist/Build.pm b/lib/CPANPLUS/Dist/Build.pm index 91bebf0..b020c72 100644 --- a/lib/CPANPLUS/Dist/Build.pm +++ b/lib/CPANPLUS/Dist/Build.pm @@ -30,7 +30,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext'; local $Params::Check::VERBOSE = 1; -$VERSION = '0.34'; +$VERSION = '0.35_01'; =pod @@ -383,8 +383,9 @@ sub _find_prereqs { # Use the new Build action 'prereq_data' my $run_perl = $conf->get_program('perlwrapper'); + my $flag = ON_VMS ? '"prereq_data"' : 'prereq_data'; - unless ( scalar run( command => [$perl, $run_perl, BUILD->($dir), 'prereq_data', @buildflags], + unless ( scalar run( command => [$perl, $run_perl, BUILD->($dir), $flag, @buildflags], buffer => \$content, verbose => 0 ) ) { diff --git a/lib/CPANPLUS/Dist/Build/Constants.pm b/lib/CPANPLUS/Dist/Build/Constants.pm index a628917..d69c700 100644 --- a/lib/CPANPLUS/Dist/Build/Constants.pm +++ b/lib/CPANPLUS/Dist/Build/Constants.pm @@ -9,7 +9,7 @@ BEGIN { require Exporter; use vars qw[$VERSION @ISA @EXPORT]; - $VERSION = '0.34'; + $VERSION = '0.35_01'; @ISA = qw[Exporter]; @EXPORT = qw[ BUILD_DIR BUILD ]; }