diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-04-23 19:43:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-28 10:44:22 +0100 |
commit | 829b985eb5c329772db49da9838530a639cb2638 (patch) | |
tree | 3c18883d115058c2c96c60919b5c052d21b109e6 /meta/recipes-devtools/perl/perl-5.12.3/debian/fakeroot.diff | |
parent | 3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea (diff) | |
download | poky-829b985eb5c329772db49da9838530a639cb2638.tar.gz |
perl: upgrade from 5.12.2 to 5.12.3
And changed the perl tarball URL to more stable cpan location.
(From OE-Core rev: 3a08c401f298095840a2aee9079845f5ff434410)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/debian/fakeroot.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.3/debian/fakeroot.diff | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/debian/fakeroot.diff b/meta/recipes-devtools/perl/perl-5.12.3/debian/fakeroot.diff new file mode 100644 index 0000000000..2c8def5a81 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.3/debian/fakeroot.diff | |||
@@ -0,0 +1,45 @@ | |||
1 | Upstream-Status:Inappropriate [debian patch] | ||
2 | |||
3 | Subject: Postpone LD_LIBRARY_PATH evaluation to the binary targets. | ||
4 | |||
5 | Modify the setting of LD_LIBRARY_PATH to append pre-existing values at the | ||
6 | time the rule is evaluated rather than when the Makefile is created. | ||
7 | |||
8 | This is required when building packages with dpkg-buildpackage and fakeroot, | ||
9 | since fakeroot (which now sets LD_LIBRARY_PATH) is not used for the "build" | ||
10 | rule where the Makefile is created, but is for the clean/binary* targets. | ||
11 | |||
12 | |||
13 | --- | ||
14 | Makefile.SH | 9 ++------- | ||
15 | 1 files changed, 2 insertions(+), 7 deletions(-) | ||
16 | |||
17 | diff --git a/Makefile.SH b/Makefile.SH | ||
18 | index fc13b2b..d420229 100755 | ||
19 | --- a/Makefile.SH | ||
20 | +++ b/Makefile.SH | ||
21 | @@ -50,12 +50,7 @@ case "$useshrplib" in | ||
22 | true) | ||
23 | # Prefix all runs of 'miniperl' and 'perl' with | ||
24 | # $ldlibpth so that ./perl finds *this* shared libperl. | ||
25 | - case "$LD_LIBRARY_PATH" in | ||
26 | - '') | ||
27 | - ldlibpth="LD_LIBRARY_PATH=`pwd`";; | ||
28 | - *) | ||
29 | - ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";; | ||
30 | - esac | ||
31 | + ldlibpth=LD_LIBRARY_PATH=`pwd`'$${LD_LIBRARY_PATH:+:}$$LD_LIBRARY_PATH' | ||
32 | |||
33 | pldlflags="$cccdlflags" | ||
34 | static_ldflags='' | ||
35 | @@ -126,7 +121,7 @@ true) | ||
36 | ;; | ||
37 | esac | ||
38 | case "$ldlibpthname" in | ||
39 | - '') ;; | ||
40 | + ''|LD_LIBRARY_PATH) ;; | ||
41 | *) | ||
42 | case "$osname" in | ||
43 | os2) | ||
44 | -- | ||
45 | tg: (a508b62..) debian/fakeroot (depends on: upstream) | ||