Revision history for local::lib
+ - Add dependency on Extutils::Install 1.43 and install in --bootstrap
+ otherwise we fail to build with latest MakeMaker on OpenSolaris (t0m)
+
1.004003 2009-16-16
- Stop Makefile.PL exploding if your CPAN is too old to have
CPAN::HandleConfig. Needed when installing local::lib via CPAN
system($^X, '-MExtUtils::MakeMaker 6.31', '-e1');
my $eumm = $? >> 8;
+ system($^X, '-MExtUtils::Install 1.43', '-e1');
+ my $eui = $? >> 8;
+
system($^X, '-MCPAN 1.80', '-e1');
my $cpan = $? >> 8;
my $cpan_command = '';
if ($eumm) { # non-zero exit
$cpan_command .= 'force("install","ExtUtils::MakeMaker"); ';
}
+ if ($eui) {
+ $cpan_command .= 'install("ExtUtils::Install"); ';
+ }
if ($cpan) {
$cpan_command .= 'force("install","CPAN"); ';
}
all_from 'lib/local/lib.pm';
requires 'ExtUtils::MakeMaker' => '6.31'; # version INSTALL_BASE was added
+requires 'ExtUtils::Install' => '1.43'; # ditto
requires 'ExtUtils::CBuilder'; # this and ParseXS are needed for MB C_support
requires 'ExtUtils::ParseXS';
requires 'Module::Build' => '0.28'; # lib -> lib/perl5 change