Prune the list of libraries wanted to what we actually need.
Bug-Debian: http://bugs.debian.org/128355 We want to keep the dependencies on perl-base as small as possible, and some of the original list may be present on buildds (see Bug#128355). (Backported to metaconfig unit probes by Niko Tyni) Gbp-Pq: Topic debian Gbp-Pq: Name prune_libs.diff
This commit is contained in:
parent
7d0af5fd6b
commit
11e3a84c07
|
@ -32,8 +32,7 @@
|
||||||
?X: Put crypt here, even though I should really fix d_crypt.U to look
|
?X: Put crypt here, even though I should really fix d_crypt.U to look
|
||||||
?X: for it correctly, including possible shared library versions.
|
?X: for it correctly, including possible shared library versions.
|
||||||
: If anyone needs extra -lxxx, put those in a hint file.
|
: If anyone needs extra -lxxx, put those in a hint file.
|
||||||
libswanted="cl pthread socket bind inet nsl ndbm gdbm dbm db malloc dl ld"
|
libswanted='gdbm gdbm_compat db dl m c crypt'
|
||||||
libswanted="$libswanted sun m crypt sec util c cposix posix ucb bsd BSD"
|
|
||||||
: We probably want to search /usr/shlib before most other libraries.
|
: We probably want to search /usr/shlib before most other libraries.
|
||||||
: This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
|
: This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
|
||||||
glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
|
glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
|
||||||
|
|
|
@ -37,7 +37,7 @@ sunos*X4*)
|
||||||
;;
|
;;
|
||||||
*) case "$usedl" in
|
*) case "$usedl" in
|
||||||
$define|true|[yY]*)
|
$define|true|[yY]*)
|
||||||
set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
|
set X `echo " $libs " | sed -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldb @ @'`
|
||||||
shift
|
shift
|
||||||
perllibs="$*"
|
perllibs="$*"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue