Author: dagolden
Date: Sat Jul 18 03:53:39 2009
New Revision: 13073
Modified:
ExtUtils-CBuilder/trunk/Build.PL
ExtUtils-CBuilder/trunk/Changes
ExtUtils-CBuilder/trunk/Makefile.PL
Log:
fix Makefile.PL INSTALLDIRS
Modified: ExtUtils-CBuilder/trunk/Build.PL
==============================================================================
--- ExtUtils-CBuilder/trunk/Build.PL (original)
+++ ExtUtils-CBuilder/trunk/Build.PL Sat Jul 18 03:53:39 2009
@@ -4,7 +4,7 @@
sub do_create_makefile_pl {
my $self = shift;
$self->SUPER::do_create_makefile_pl(fh => $fh);
- $self->do_system(qw(perl -pi -e), q{s/'INSTALLDIRS' =>
'site'/'INSTALLDIRS' => (\$] >= 5.009003 ? 'perl' : 'site')/}, 'Makefile.PL');
+ $self->do_system(qw(perl -pi -e), q{s/'INSTALLDIRS' => '\w+'/'INSTALLDIRS'
=> (\$] >= 5.009003 ? 'perl' : 'site')/}, 'Makefile.PL');
}
EOF
Modified: ExtUtils-CBuilder/trunk/Changes
==============================================================================
--- ExtUtils-CBuilder/trunk/Changes (original)
+++ ExtUtils-CBuilder/trunk/Changes Sat Jul 18 03:53:39 2009
@@ -2,6 +2,10 @@
0.26_03 -
+ Bugs fixed:
+ - Makefile.PL had wrong INSTALLDIRS setting for older Perls
+ (RT#47985) [David Golden]
+
0.2602 - Sat Jul 4 10:57:12 EDT 2009
Bugs fixed:
Modified: ExtUtils-CBuilder/trunk/Makefile.PL
==============================================================================
--- ExtUtils-CBuilder/trunk/Makefile.PL (original)
+++ ExtUtils-CBuilder/trunk/Makefile.PL Sat Jul 18 03:53:39 2009
@@ -1,9 +1,9 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.33
+# Note: this file was auto-generated by Module::Build::Compat version 0.34
use ExtUtils::MakeMaker;
WriteMakefile
(
'PL_FILES' => {},
- 'INSTALLDIRS' => 'perl',
+ 'INSTALLDIRS' => ($] >= 5.009003 ? 'perl' : 'site'),
'NAME' => 'ExtUtils::CBuilder',
'EXE_FILES' => [],
'VERSION_FROM' => 'lib/ExtUtils/CBuilder.pm',