diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-10-19 14:53:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-24 14:27:35 +0100 |
commit | 8dc5f118832a4aca906239ffed82f72497c37f8e (patch) | |
tree | c53e75b07c0e3ad89907b0ce55efab5d371cea80 /meta/recipes-devtools/perl/perl-5.12.3/perl-configpm-switch.patch | |
parent | c9883733fed9267b1a936c08500a4caf8dc52d3d (diff) | |
download | openembedded-core-8dc5f118832a4aca906239ffed82f72497c37f8e.tar.gz openembedded-core-8dc5f118832a4aca906239ffed82f72497c37f8e.tar.bz2 openembedded-core-8dc5f118832a4aca906239ffed82f72497c37f8e.tar.xz openembedded-core-8dc5f118832a4aca906239ffed82f72497c37f8e.zip |
perl: upgrade from 5.12.3 to 5.14.2
parallel build fix patches are not needed as they are upstream now.
Got a new set of debian patch set for 5.14.2
perl-rpdepends: fix the autogenerated rdepends mistakes
take out some mdoules which are not going to be built.
[Saul Wold: Remove debug]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/perl-configpm-switch.patch')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.3/perl-configpm-switch.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/perl-configpm-switch.patch b/meta/recipes-devtools/perl/perl-5.12.3/perl-configpm-switch.patch deleted file mode 100644 index 9e9f34286..000000000 --- a/meta/recipes-devtools/perl/perl-5.12.3/perl-configpm-switch.patch +++ /dev/null @@ -1,45 +0,0 @@ -Upstream-Status:Inappropriate [native] - -This patch is used for perl-native only. It enables the switching of -configuration files between Config_heavy.pl and -Config_heavy-target.pl by setting the environment variables -PERLCONFIGTARGET - the later containing settings for the target while -the former contains those for the host. This will allow cpan.bbclass -to use the settings appropriate for the native and/or target builds -as required. This also disables the use of the cache since the cached -values would be valid for the host only. - ---- perl-5.8.8/configpm 2007/04/30 03:10:43 1.1 -+++ perl-5.8.8/configpm 2007/04/30 03:11:56 -@@ -374,7 +374,7 @@ - my($self, $key) = @_; - - # check for cached value (which may be undef so we use exists not defined) -- return $self->{$key} if exists $self->{$key}; -+ #return $self->{$key} if exists $self->{$key}; - - return $self->fetch_string($key); - } -@@ -530,7 +530,21 @@ - sub DESTROY { } - - sub AUTOLOAD { -- require 'Config_heavy.pl'; -+ my $cfgfile = 'Config_heavy.pl'; -+ if (defined $ENV{PERLCONFIGTARGET} and $ENV{PERLCONFIGTARGET} eq "yes") -+ { -+ $cfgfile = 'Config_heavy-target.pl'; -+ } -+ if (defined $ENV{PERL_ARCHLIB}) -+ { -+ push @INC, $ENV{PERL_ARCHLIB}; -+ require $cfgfile; -+ pop @INC; -+ } -+ else -+ { -+ require $cfgfile; -+ } - goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/; - die "&Config::AUTOLOAD failed on $Config::AUTOLOAD"; - } |