'CPANPLUS::Dist::Build' =>
{
'MAINTAINER' => 'bingos',
- 'DISTRIBUTION' => 'BINGOS/CPANPLUS-Dist-Build-0.35_02.tar.gz',
+ 'DISTRIBUTION' => 'BINGOS/CPANPLUS-Dist-Build-0.35_03.tar.gz',
'FILES' => q[lib/CPANPLUS/Dist/Build.pm
lib/CPANPLUS/Dist/Build
],
local $Params::Check::VERBOSE = 1;
-$VERSION = '0.35_02';
+$VERSION = '0.35_03';
=pod
my $env = ENV_CPANPLUS_IS_EXECUTING;
local $ENV{$env} = BUILD_PL->( $dir );
my $run_perl = $conf->get_program('perlwrapper');
- my $cmd;
- if ( ON_VMS ) {
- $cmd = [$perl, BUILD_PL->($dir), @buildflags]
- }
- else {
- $cmd = [$perl, $run_perl, BUILD_PL->($dir), @buildflags]
- }
+ my $cmd = [$perl, $run_perl, BUILD_PL->($dir), @buildflags];
unless ( scalar run( command => $cmd,
buffer => \$prep_output,
my $content;
- if ( version->new( $Module::Build::VERSION ) >= $safe_ver and ! ON_WIN32 and ! ON_VMS ) {
+ if ( version->new( $Module::Build::VERSION ) >= $safe_ver and IPC::Cmd->can_capture_buffer ) {
my @buildflags = $dist->_buildflags_as_list( $buildflags );
# Use the new Build action 'prereq_data'
### test ENV setting while running Build.PL code
SKIP: { ### use print() not die() -- we're redirecting STDERR in tests!
- skip("Known issues due to capturing with this test and MSWin32/VMS") if ON_WIN32 or ON_VMS;
my $env = ENV_CPANPLUS_IS_EXECUTING;
+ skip("Can't test ENV{$env} -- no buffers available")
+ unless IPC::Cmd->can_capture_buffer;
my $clone = $Mod->clone;
ok( $clone, 'Testing ENV settings $dist->prepare' );