summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/09_fix_installperl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/09_fix_installperl.patch')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.3/09_fix_installperl.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/09_fix_installperl.patch b/meta/recipes-devtools/perl/perl-5.14.3/09_fix_installperl.patch
new file mode 100644
index 0000000..a80d17c
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.3/09_fix_installperl.patch
@@ -0,0 +1,21 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Correctly identify arch-specific modules in ext/ where the .pm files
4are under lib.
5
6Ensure that POSIX/SigAction is kept with the rest of the POSIX module
7under archlib.
8
9Index: 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