diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/debian/prune_libs.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.3/debian/prune_libs.diff | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/debian/prune_libs.diff b/meta/recipes-devtools/perl/perl-5.12.3/debian/prune_libs.diff new file mode 100644 index 0000000000..5bb072c021 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.3/debian/prune_libs.diff | |||
@@ -0,0 +1,38 @@ | |||
1 | Upstream-Status:Inappropriate [debian patch] | ||
2 | |||
3 | Subject: Prune the list of libraries wanted to what we actually need. | ||
4 | Bug-Debian: http://bugs.debian.org/128355 | ||
5 | |||
6 | We want to keep the dependencies on perl-base as small as possible, | ||
7 | and some of the original list may be present on buildds (see Bug#128355). | ||
8 | |||
9 | |||
10 | --- | ||
11 | Configure | 5 ++--- | ||
12 | 1 files changed, 2 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/Configure b/Configure | ||
15 | index 3a8732b..6013c86 100755 | ||
16 | --- a/Configure | ||
17 | +++ b/Configure | ||
18 | @@ -1363,8 +1363,7 @@ libswanted_uselargefiles='' | ||
19 | : set usesocks on the Configure command line to enable socks. | ||
20 | : List of libraries we want. | ||
21 | : If anyone needs extra -lxxx, put those in a hint file. | ||
22 | -libswanted="sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun" | ||
23 | -libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD" | ||
24 | +libswanted='gdbm gdbm_compat db dl m c crypt' | ||
25 | : We probably want to search /usr/shlib before most other libraries. | ||
26 | : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. | ||
27 | glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'` | ||
28 | @@ -22179,7 +22178,7 @@ sunos*X4*) | ||
29 | ;; | ||
30 | *) case "$usedl" in | ||
31 | $define|true|[yY]*) | ||
32 | - set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'` | ||
33 | + set X `echo " $libs " | sed -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldb @ @'` | ||
34 | shift | ||
35 | perllibs="$*" | ||
36 | ;; | ||
37 | -- | ||
38 | tg: (a508b62..) debian/prune_libs (depends on: upstream) | ||