diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_1.patch')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_1.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_1.patch b/meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_1.patch new file mode 100644 index 0000000000..d5a6295386 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_1.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | Upstream-Status:Inappropriate [Backport] | ||
2 | |||
3 | Imported from perl git tree by Nitin A Kamble <nitin.a.kamble@intel.com> | ||
4 | 2011-02-23 | ||
5 | |||
6 | commit 6695a346c41138df5b2c0e26b9a49b1f96137da0 | ||
7 | Author: Tony Cook <tony@openbsd32.tony.develop-help.com> | ||
8 | Date: Thu Jul 22 09:54:13 2010 +1000 | ||
9 | |||
10 | make_ext.pl populates @INC correctly, don't override it badly | ||
11 | |||
12 | PERL5LIB is populated by make_ext.pl with paths to the modules we need | ||
13 | to run, don't override this with "../../lib" since that may not have | ||
14 | been populated yet in a parallel build. | ||
15 | |||
16 | diff --git a/ext/POSIX/Makefile.PL b/ext/POSIX/Makefile.PL | ||
17 | index 392b6fb..9e6d091 100644 | ||
18 | --- a/ext/POSIX/Makefile.PL | ||
19 | +++ b/ext/POSIX/Makefile.PL | ||
20 | @@ -1,7 +1,3 @@ | ||
21 | -# Explicitly avoid including '.' in @INC; autoloader gets confused since it | ||
22 | -# can find POSIX.pm, but can't find autosplit.ix. | ||
23 | -BEGIN { @INC = '../../lib';} | ||
24 | -# | ||
25 | use ExtUtils::MakeMaker; | ||
26 | use ExtUtils::Constant 0.11 'WriteConstants'; | ||
27 | use Config; | ||