Update CPANPLUS::Dist::Build to CPAN version 0.35_01
authorChris Williams <chris@bingosnet.co.uk>
Wed, 24 Jun 2009 09:26:40 +0000 (10:26 +0100)
committerVincent Pit <perl@profvince.com>
Wed, 24 Jun 2009 09:38:03 +0000 (11:38 +0200)
lib/CPANPLUS/Dist/Build.pm
lib/CPANPLUS/Dist/Build/Constants.pm

index 91bebf0..b020c72 100644 (file)
@@ -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 ) 
         ) {
index a628917..d69c700 100644 (file)
@@ -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 ];
 }