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