From: Chris 'BinGOs' Williams Date: Sat, 4 Jul 2009 14:06:19 +0000 (+0100) Subject: Update CPANPLUS::Dist::Build to CPAN version 0.36 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0183efc54252e0b83726d100b2e8a3e5e04a3b35;p=p5sagit%2Fp5-mst-13.2.git Update CPANPLUS::Dist::Build to CPAN version 0.36 Hi, Attached is a patch to update CPANPLUS::Dist::Build in core to CPAN version 0.36. Highlights from the Change Log: ============================================================== 0.36 Sat Jul 4 14:51:42 BST 2009 - Make install() honour the buildflags directive, absence spotted by Matt Trout ============================================================== Many thanks, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ========================== From 43b0b0b2f93858517fa5d21566bcd807d4bf434a Mon Sep 17 00:00:00 2001 From: Chris Williams Date: Sat, 4 Jul 2009 15:02:09 +0100 Subject: [PATCH] Update CPANPLUS::Dist::Build to CPAN version 0.36 Signed-off-by: H.Merijn Brand --- diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 31b0e86..0e55263 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -484,7 +484,7 @@ package Maintainers; 'CPANPLUS::Dist::Build' => { 'MAINTAINER' => 'bingos', - 'DISTRIBUTION' => 'BINGOS/CPANPLUS-Dist-Build-0.35_03.tar.gz', + 'DISTRIBUTION' => 'BINGOS/CPANPLUS-Dist-Build-0.36.tar.gz', 'FILES' => q[lib/CPANPLUS/Dist/Build.pm lib/CPANPLUS/Dist/Build ], diff --git a/lib/CPANPLUS/Dist/Build.pm b/lib/CPANPLUS/Dist/Build.pm index 1396401..d2d001b 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.35_03'; +$VERSION = '0.36'; =pod @@ -688,13 +688,15 @@ sub install { my %hash = @_; - my $verbose; my $perl; my $force; + my $verbose; my $perl; my $force; my $buildflags; { local $Params::Check::ALLOW_UNKNOWN = 1; my $tmpl = { verbose => { default => $conf->get_conf('verbose'), store => \$verbose }, force => { default => $conf->get_conf('force'), store => \$force }, + buildflags => { default => $conf->get_conf('buildflags'), + store => \$buildflags }, perl => { default => $^X, store => \$perl }, }; @@ -725,7 +727,7 @@ sub install { } my $fail; - my @buildflags = $dist->_buildflags_as_list( $dist->status->_buildflags ); + my @buildflags = $dist->_buildflags_as_list( $buildflags ); my $run_perl = $conf->get_program('perlwrapper'); ### hmm, how is this going to deal with sudo? @@ -811,7 +813,7 @@ terms as Perl itself. =cut -1; +qq[Putting the Module::Build into CPANPLUS]; # Local variables: diff --git a/lib/CPANPLUS/Dist/Build/Constants.pm b/lib/CPANPLUS/Dist/Build/Constants.pm index e9864a0..7f45d6b 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.35_03'; + $VERSION = '0.36'; @ISA = qw[Exporter]; @EXPORT = qw[ BUILD_DIR BUILD ]; }