summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/09_fix_installperl.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-devtools/perl/perl-5.14.3/09_fix_installperl.patch
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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 0000000000..a80d17c8b0
--- /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