summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch')
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch b/meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch
new file mode 100644
index 0000000000..f550537d02
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch
@@ -0,0 +1,32 @@
1Correctly identify arch-specific modules in ext/ where the .pm files
2are under lib.
3
4Ensure that POSIX/SigAction is kept with the rest of the POSIX module
5under archlib.
6
7diff --exclude=debian -Naur perl-5.8.8.orig/installperl perl-5.8.8/installperl
8--- perl-5.8.8.orig/installperl 2006-01-29 02:35:28.000000000 +1100
9+++ perl-5.8.8/installperl 2006-05-31 22:54:41.000000000 +1000
10@@ -156,11 +156,8 @@
11 if ("$File::Find::dir/$_" =~ m{^ext\b(.*)/([^/]+)\.pm$}) {
12 my($path, $modname) = ($1,$2);
13
14- # strip trailing component first
15- $path =~ s{/[^/]*$}{};
16-
17- # strip optional "/lib";
18- $path =~ s{/lib\b}{};
19+ # strip to optional "/lib", or remove trailing component
20+ $path =~ s{.*/lib\b}{} or $path =~ s{/[^/]*$}{};
21
22 # strip any leading /
23 $path =~ s{^/}{};
24@@ -851,7 +848,7 @@
25 }
26
27 if (-f $_) {
28- if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$] && $archpms{$1})) {
29+ if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$])) {
30 $installlib = $installprivlib;
31 #We're installing *.al and *.ix files into $installprivlib,
32 #but we have to delete old *.al and *.ix files from the 5.000