blob: b4443f64764115a6adf00da7fdc19afb1dbfccb1 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From 21bc033755f0b609f9bb2aa9e98b10d58424406f Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 18 Mar 2005 22:22:25 +1100
4Subject: Prune the list of libraries wanted to what we actually need.
5
6Bug-Debian: http://bugs.debian.org/128355
7
8We want to keep the dependencies on perl-base as small as possible,
9and some of the original list may be present on buildds (see Bug#128355).
10
11Patch-Name: debian/prune_libs.diff
12---
13 Configure | 5 ++---
14 1 file changed, 2 insertions(+), 3 deletions(-)
15
16diff --git a/Configure b/Configure
17index 0a405d3..6fcc3bc 100755
18--- a/Configure
19+++ b/Configure
20@@ -1454,8 +1454,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="cl pthread socket bind inet nsl nm ndbm gdbm dbm db malloc dl ld"
25-libswanted="$libswanted sun 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@@ -23593,7 +23592,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 ;;