diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2009-07-04 15:06:19 +0100 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2009-07-04 16:13:38 +0200 |
commit | 0183efc54252e0b83726d100b2e8a3e5e04a3b35 (patch) | |
tree | a5996961450fbd3c154cc0be06c416e0039d04fd /lib/CPANPLUS | |
parent | 02b13d1d542bbe5c0b940a475065f8e25e0d6722 (diff) | |
download | perl-0183efc54252e0b83726d100b2e8a3e5e04a3b35.tar.gz |
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 <chris@bingosnet.co.uk>
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 <h.m.brand@xs4all.nl>
Diffstat (limited to 'lib/CPANPLUS')
-rw-r--r-- | lib/CPANPLUS/Dist/Build.pm | 10 | ||||
-rw-r--r-- | lib/CPANPLUS/Dist/Build/Constants.pm | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/CPANPLUS/Dist/Build.pm b/lib/CPANPLUS/Dist/Build.pm index 1396401aba..d2d001b4ed 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 e9864a02f5..7f45d6b257 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 ]; } |