From: Chris 'BinGOs' Williams Date: Wed, 5 Dec 2012 16:25:26 +0000 (+0000) Subject: Update CPANPLUS-Dist-Build to CPAN version 0.68 X-Git-Tag: upstream/5.20.0~4602 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a2ec0aae98463a411132f911bf30d196ea4fa55;p=platform%2Fupstream%2Fperl.git Update CPANPLUS-Dist-Build to CPAN version 0.68 [DELTA] 0.68 Wed Dec 5 00:17:04 GMT 2012 - Revert change to wrapper command-line 0.66 Tue Dec 4 23:05:53 GMT 2012 - Resolve an issue where Build.PL doesn't generate a Build script --- diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 6949807..c85e901 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -474,7 +474,7 @@ use File::Glob qw(:case); 'CPANPLUS::Dist::Build' => { 'MAINTAINER' => 'bingos', - 'DISTRIBUTION' => 'BINGOS/CPANPLUS-Dist-Build-0.64.tar.gz', + 'DISTRIBUTION' => 'BINGOS/CPANPLUS-Dist-Build-0.68.tar.gz', 'FILES' => q[cpan/CPANPLUS-Dist-Build], 'EXCLUDED' => [ qr{^inc/}, diff --git a/cpan/CPANPLUS-Dist-Build/lib/CPANPLUS/Dist/Build.pm b/cpan/CPANPLUS-Dist-Build/lib/CPANPLUS/Dist/Build.pm index c26e379..7669937 100644 --- a/cpan/CPANPLUS-Dist-Build/lib/CPANPLUS/Dist/Build.pm +++ b/cpan/CPANPLUS-Dist-Build/lib/CPANPLUS/Dist/Build.pm @@ -30,7 +30,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext'; local $Params::Check::VERBOSE = 1; -$VERSION = '0.64'; +$VERSION = '0.68'; =pod @@ -327,6 +327,15 @@ sub prepare { $fail++; last RUN; } + unless ( BUILD->( $dir ) ) { + error( loc( "Build.PL failed to generate a Build script: %1", $prep_output ) ); + if ( $conf->get_conf('cpantest') ) { + $status->{stage} = 'prepare'; + $status->{capture} = $prep_output; + } + $fail++; last RUN; + } + msg( $prep_output, 0 ); my $prereqs = $self->status->prereqs; diff --git a/cpan/CPANPLUS-Dist-Build/lib/CPANPLUS/Dist/Build/Constants.pm b/cpan/CPANPLUS-Dist-Build/lib/CPANPLUS/Dist/Build/Constants.pm index f7b514d..5aff878 100644 --- a/cpan/CPANPLUS-Dist-Build/lib/CPANPLUS/Dist/Build/Constants.pm +++ b/cpan/CPANPLUS-Dist-Build/lib/CPANPLUS/Dist/Build/Constants.pm @@ -9,7 +9,7 @@ BEGIN { require Exporter; use vars qw[$VERSION @ISA @EXPORT]; - $VERSION = '0.64'; + $VERSION = '0.68'; @ISA = qw[Exporter]; @EXPORT = qw[ BUILD_DIR BUILD CPDB_PERL_WRAPPER]; }