From: Rafael Garcia-Suarez Date: Fri, 8 Feb 2008 13:25:18 +0000 (+0000) Subject: Re-apply patches 32879, 32905, and 32964 to MakeMaker X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d5ece4e2f6bab8ea3b566491297a9eefa412e671;p=p5sagit%2Fp5-mst-13.2.git Re-apply patches 32879, 32905, and 32964 to MakeMaker p4raw-id: //depot/perl@33252 --- diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 36ec6a1..51951d4 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -15,7 +15,7 @@ use ExtUtils::MakeMaker qw($Verbose neatvalue); # If we make $VERSION an our variable parse_version() breaks use vars qw($VERSION); -$VERSION = '6.43_01'; +$VERSION = '6.43_02'; require ExtUtils::MM_Any; our @ISA = qw(ExtUtils::MM_Any); @@ -1979,6 +1979,9 @@ sub init_PERL { $self->{ABSPERL} = 'MCR '.$self->{ABSPERL} if $has_mcr; } + $self->{ABSPERL} = qq{"$self->{ABSPERL}"} + if ($self->{ABSPERL} =~ /\s/) && ! $has_mcr; + # Are we building the core? $self->{PERL_CORE} = $ENV{PERL_CORE} unless exists $self->{PERL_CORE}; $self->{PERL_CORE} = 0 unless defined $self->{PERL_CORE}; @@ -2448,7 +2451,7 @@ $(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib push @$extra, $_; } - grep(s/^(.*)/"-I$1"/, @{$perlinc || []}); + map(s/^(.*)/"-I$1"/, @{$perlinc || []}); $target ||= "perl"; $tmp ||= ".";