diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-01-22 22:46:07 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-22 22:46:07 -0300 |
commit | b200d446d039db61da737bce424ec470309c0f70 (patch) | |
tree | 7e6d85b4af34424143adf6122f7d1cdabf77f1b5 /cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | |
parent | 9c213c250ec5aeaa30aa3d4c8ff3a1ccb02330a9 (diff) | |
parent | 8b6a017ccef7126ae5bcac137fa9a45de4f2c155 (diff) | |
download | perl-b200d446d039db61da737bce424ec470309c0f70.tar.gz |
Merge branch 'cross-compile-revamp' into blead
This branch modifies how the cross-compilation model works.
The main change is that we now build a host miniperl to use locally,
rather than running each call to miniperl remotely.
It also removes several of the exceptions from the old model (no xlib,
xconfig.h, or Cross.pm).
Diffstat (limited to 'cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm')
-rw-r--r-- | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm index 72d04fbb62..ec8d48edb1 100644 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm @@ -1039,8 +1039,6 @@ WARNING print "Executing $abs\n" if ($trace >= 2); my $version_check = qq{$abs -le "require $ver; print qq{VER_OK}"}; - $version_check = "$Config{run} $version_check" - if defined $Config{run} and length $Config{run}; # To avoid using the unportable 2>&1 to suppress STDERR, # we close it before running the command. @@ -1637,18 +1635,9 @@ sub init_main { if ($self->{PERL_SRC}){ $self->{PERL_LIB} ||= $self->catdir("$self->{PERL_SRC}","lib"); - if (defined $Cross::platform) { - $self->{PERL_ARCHLIB} = - $self->catdir("$self->{PERL_SRC}","xlib",$Cross::platform); - $self->{PERL_INC} = - $self->catdir("$self->{PERL_SRC}","xlib",$Cross::platform, - $Is{Win32}?("CORE"):()); - } - else { - $self->{PERL_ARCHLIB} = $self->{PERL_LIB}; - $self->{PERL_INC} = ($Is{Win32}) ? - $self->catdir($self->{PERL_LIB},"CORE") : $self->{PERL_SRC}; - } + $self->{PERL_ARCHLIB} = $self->{PERL_LIB}; + $self->{PERL_INC} = ($Is{Win32}) ? + $self->catdir($self->{PERL_LIB},"CORE") : $self->{PERL_SRC}; # catch a situation that has occurred a few times in the past: unless ( |