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