summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2009-04-27 18:13:04 +0200
committerVincent Pit <perl@profvince.com>2009-04-27 18:13:04 +0200
commit39a48622bc305354a2fe04d676bbcf726e63ca25 (patch)
treeeab87eb7372f2b2ace079e626368f9e8771b1c02 /lib
parent20afcebf4582369ec1b02c71a51b74640d3224ad (diff)
downloadperl-39a48622bc305354a2fe04d676bbcf726e63ca25.tar.gz
Update CPANPLUS::Dist::Build to version 0.24
This fixes an integration issue with the latest CPANPLUS (0.86).
Diffstat (limited to 'lib')
-rw-r--r--lib/CPANPLUS/Dist/Build.pm7
-rw-r--r--lib/CPANPLUS/Dist/Build/Constants.pm2
2 files changed, 4 insertions, 5 deletions
diff --git a/lib/CPANPLUS/Dist/Build.pm b/lib/CPANPLUS/Dist/Build.pm
index 11a8d566ef..714ef79ae2 100644
--- a/lib/CPANPLUS/Dist/Build.pm
+++ b/lib/CPANPLUS/Dist/Build.pm
@@ -5,7 +5,6 @@ use warnings;
use vars qw[@ISA $STATUS $VERSION];
@ISA = qw[CPANPLUS::Dist];
-use CPANPLUS::inc;
use CPANPLUS::Internals::Constants;
### these constants were exported by CPANPLUS::Internals::Constants
@@ -31,7 +30,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext';
local $Params::Check::VERBOSE = 1;
-$VERSION = '0.22';
+$VERSION = '0.24';
=pod
@@ -264,7 +263,7 @@ sub prepare {
### to reset the @INC
#local $ENV{PERL5OPT} = CPANPLUS::inc->original_perl5opt;
#local $ENV{PERL5LIB} = CPANPLUS::inc->original_perl5lib;
- local @INC = CPANPLUS::inc->original_inc;
+ #local @INC = CPANPLUS::inc->original_inc;
### this will generate warnings under anything lower than M::B 0.2606
my @buildflags = $dist->_buildflags_as_list( $buildflags );
@@ -535,7 +534,7 @@ sub create {
### to reset the @INC
#local $ENV{PERL5OPT} = CPANPLUS::inc->original_perl5opt;
#local $ENV{PERL5LIB} = CPANPLUS::inc->original_perl5lib;
- local @INC = CPANPLUS::inc->original_inc;
+ #local @INC = CPANPLUS::inc->original_inc;
### but do it *before* the new_from_context, as M::B seems
### to be actually running the file...
diff --git a/lib/CPANPLUS/Dist/Build/Constants.pm b/lib/CPANPLUS/Dist/Build/Constants.pm
index 6fc95340bc..2a60438a09 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.22';
+ $VERSION = '0.24';
@ISA = qw[Exporter];
@EXPORT = qw[ BUILD_DIR BUILD ];
}