diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-27 21:04:11 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-27 21:04:11 +0000 |
commit | 80785a10721e523029c27f264fca5a892cf68e36 (patch) | |
tree | d33b51538db742a5d6f8df6b184b5531e8bf68ce /meta/packages/perl/perl-5.8.8/09_fix_installperl.patch | |
parent | bd4fd028a799e804d803eac14ccb9e164ecc4938 (diff) | |
download | openembedded-core-80785a10721e523029c27f264fca5a892cf68e36.tar.gz openembedded-core-80785a10721e523029c27f264fca5a892cf68e36.tar.bz2 openembedded-core-80785a10721e523029c27f264fca5a892cf68e36.tar.xz openembedded-core-80785a10721e523029c27f264fca5a892cf68e36.zip |
perl: 5.8.7 -> 5.8.8 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1785 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/perl/perl-5.8.8/09_fix_installperl.patch')
-rw-r--r-- | meta/packages/perl/perl-5.8.8/09_fix_installperl.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/perl/perl-5.8.8/09_fix_installperl.patch b/meta/packages/perl/perl-5.8.8/09_fix_installperl.patch new file mode 100644 index 000000000..f550537d0 --- /dev/null +++ b/meta/packages/perl/perl-5.8.8/09_fix_installperl.patch @@ -0,0 +1,32 @@ +Correctly identify arch-specific modules in ext/ where the .pm files +are under lib. + +Ensure that POSIX/SigAction is kept with the rest of the POSIX module +under archlib. + +diff --exclude=debian -Naur perl-5.8.8.orig/installperl perl-5.8.8/installperl +--- perl-5.8.8.orig/installperl 2006-01-29 02:35:28.000000000 +1100 ++++ perl-5.8.8/installperl 2006-05-31 22:54:41.000000000 +1000 +@@ -156,11 +156,8 @@ + if ("$File::Find::dir/$_" =~ m{^ext\b(.*)/([^/]+)\.pm$}) { + my($path, $modname) = ($1,$2); + +- # strip trailing component first +- $path =~ s{/[^/]*$}{}; +- +- # strip optional "/lib"; +- $path =~ s{/lib\b}{}; ++ # strip to optional "/lib", or remove trailing component ++ $path =~ s{.*/lib\b}{} or $path =~ s{/[^/]*$}{}; + + # strip any leading / + $path =~ s{^/}{}; +@@ -851,7 +848,7 @@ + } + + if (-f $_) { +- if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$] && $archpms{$1})) { ++ if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$])) { + $installlib = $installprivlib; + #We're installing *.al and *.ix files into $installprivlib, + #but we have to delete old *.al and *.ix files from the 5.000 |