diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch b/meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch new file mode 100644 index 0000000000..a80d17c8b0 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Correctly identify arch-specific modules in ext/ where the .pm files | ||
4 | are under lib. | ||
5 | |||
6 | Ensure that POSIX/SigAction is kept with the rest of the POSIX module | ||
7 | under archlib. | ||
8 | |||
9 | Index: perl-5.12.3/installperl | ||
10 | =================================================================== | ||
11 | --- perl-5.12.3.orig/installperl | ||
12 | +++ perl-5.12.3/installperl | ||
13 | @@ -750,7 +750,7 @@ sub installlib { | ||
14 | } | ||
15 | |||
16 | if (-f $_) { | ||
17 | - if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$])) { | ||
18 | + if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$] && $archpms{$1})) { | ||
19 | $installlib = $installprivlib; | ||
20 | #We're installing *.al and *.ix files into $installprivlib, | ||
21 | #but we have to delete old *.al and *.ix files from the 5.000 | ||