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