From ef3ac53da2b8caea33e0421c2707233d211648b6 Mon Sep 17 00:00:00 2001 From: Marcel Denia Date: Tue, 14 Oct 2014 21:16:47 +0200 Subject: [PATCH] perl: Don't try to link against libnsl And also remove all other references to avoid confusion. libnsl isn't really needed. Removing it allows glibc based toolchains to build perl. Signed-off-by: Marcel Denia --- lang/perl/files/config.sh-arm.in | 12 ++++++------ lang/perl/files/config.sh-armeb.in | 12 ++++++------ lang/perl/files/config.sh-avr32.in | 12 ++++++------ lang/perl/files/config.sh-i486.in | 12 ++++++------ lang/perl/files/config.sh-mips.in | 12 ++++++------ lang/perl/files/config.sh-mipsel.in | 12 ++++++------ lang/perl/files/config.sh-powerpc.in | 12 ++++++------ lang/perl/files/config.sh-x86_64.in | 12 ++++++------ 8 files changed, 48 insertions(+), 48 deletions(-) diff --git a/lang/perl/files/config.sh-arm.in b/lang/perl/files/config.sh-arm.in index a23a6fdc6d..523fef409c 100644 --- a/lang/perl/files/config.sh-arm.in +++ b/lang/perl/files/config.sh-arm.in @@ -740,12 +740,12 @@ lib_ext='.a' libc='' libperl='libperl.so' libpth='%%LIBDIRS%%' -libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' +libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so' +#libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' libspath='%%LIBDIRS%%' -libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' +libswanted='sfio socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' libswanted_uselargefiles='' line='' lint='' @@ -829,7 +829,7 @@ perl5='' perl='' perl_patchlevel='' perladmin='root@maia.dev.null' -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' +perllibs='-ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' perlpath='/usr/bin/perl' pg='pg' phostname='hostname' @@ -1108,7 +1108,7 @@ i_stdbool='define' i_syspoll='define' #incpth='/usr/lib/gcc/i486-slackware-linux/4.8.2/include /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.8.2/include-fixed /usr/include' ld_can_script='define' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +#libsfound=' /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' nv_overflows_integers_at='0' perl_static_inline='static __inline__' sGMTIME_max='2147483647' diff --git a/lang/perl/files/config.sh-armeb.in b/lang/perl/files/config.sh-armeb.in index aee8b2af63..34520fd19c 100644 --- a/lang/perl/files/config.sh-armeb.in +++ b/lang/perl/files/config.sh-armeb.in @@ -740,12 +740,12 @@ lib_ext='.a' libc='' libperl='libperl.so' libpth='%%LIBDIRS%%' -libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' +libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so' +#libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' libspath='%%LIBDIRS%%' -libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' +libswanted='sfio socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' libswanted_uselargefiles='' line='' lint='' @@ -829,7 +829,7 @@ perl5='' perl='' perl_patchlevel='' perladmin='root@maia.dev.null' -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' +perllibs='-ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' perlpath='/usr/bin/perl' pg='pg' phostname='hostname' @@ -1108,7 +1108,7 @@ i_stdbool='define' i_syspoll='define' #incpth='/usr/lib/gcc/i486-slackware-linux/4.8.2/include /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.8.2/include-fixed /usr/include' ld_can_script='define' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +#libsfound=' /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' nv_overflows_integers_at='0' perl_static_inline='static __inline__' sGMTIME_max='2147483647' diff --git a/lang/perl/files/config.sh-avr32.in b/lang/perl/files/config.sh-avr32.in index 64542e8afd..37a5d6c041 100644 --- a/lang/perl/files/config.sh-avr32.in +++ b/lang/perl/files/config.sh-avr32.in @@ -742,12 +742,12 @@ lib_ext='.a' libc='' libperl='libperl.so' libpth='%%LIBDIRS%%' -libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' +libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so' +#libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' libspath='%%LIBDIRS%%' -libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' +libswanted='sfio socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' libswanted_uselargefiles='' line='' lint='' @@ -831,7 +831,7 @@ perl5='' perl='' perl_patchlevel='' perladmin='root@maia.dev.null' -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' +perllibs='-ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' perlpath='/usr/bin/perl' pg='pg' phostname='hostname' @@ -1110,7 +1110,7 @@ i_stdbool='define' i_syspoll='define' #incpth='/usr/lib/gcc/i486-slackware-linux/4.8.2/include /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.8.2/include-fixed /usr/include' ld_can_script='define' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +#libsfound=' /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' nv_overflows_integers_at='0' perl_static_inline='static __inline__' sGMTIME_max='2147483647' diff --git a/lang/perl/files/config.sh-i486.in b/lang/perl/files/config.sh-i486.in index f915fd84c0..f4566367ab 100644 --- a/lang/perl/files/config.sh-i486.in +++ b/lang/perl/files/config.sh-i486.in @@ -733,12 +733,12 @@ lib_ext='.a' libc='' libperl='libperl.so' libpth='%%LIBDIRS%%' -libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' +libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so' +#libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' libspath='%%LIBDIRS%%' -libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' +libswanted='sfio socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' libswanted_uselargefiles='' line='' lint='' @@ -820,7 +820,7 @@ perl5='' perl='' perl_patchlevel='' perladmin='root@maia.dev.null' -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' +perllibs='-ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' perlpath='/usr/bin/perl' pg='pg' phostname='hostname' @@ -1093,7 +1093,7 @@ i_stdbool='define' i_syspoll='define' #incpth='/usr/lib/gcc/i486-slackware-linux/4.8.2/include /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.8.2/include-fixed /usr/include' ld_can_script='define' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +#libsfound=' /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' nv_overflows_integers_at='0' perl_static_inline='static __inline__' sGMTIME_max='2147483647' diff --git a/lang/perl/files/config.sh-mips.in b/lang/perl/files/config.sh-mips.in index b0eb0fe06b..cb313b1e8e 100644 --- a/lang/perl/files/config.sh-mips.in +++ b/lang/perl/files/config.sh-mips.in @@ -740,12 +740,12 @@ lib_ext='.a' libc='' libperl='libperl.so' libpth='%%LIBDIRS%%' -libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' +libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so' +#libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' libspath='%%LIBDIRS%%' -libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' +libswanted='sfio socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' libswanted_uselargefiles='' line='' lint='' @@ -829,7 +829,7 @@ perl5='' perl='' perl_patchlevel='' perladmin='root@merope.dev.null' -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' +perllibs='-ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' perlpath='/usr/bin/perl' pg='pg' phostname='hostname' @@ -1108,7 +1108,7 @@ i_stdbool='define' i_syspoll='define' #incpth='/usr/lib/gcc/i486-slackware-linux/4.8.2/include /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.8.2/include-fixed /usr/include' ld_can_script='define' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +#libsfound=' /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' nv_overflows_integers_at='0' perl_static_inline='static __inline__' sGMTIME_max='2147483647' diff --git a/lang/perl/files/config.sh-mipsel.in b/lang/perl/files/config.sh-mipsel.in index 557d9a1999..a3e841613b 100644 --- a/lang/perl/files/config.sh-mipsel.in +++ b/lang/perl/files/config.sh-mipsel.in @@ -733,12 +733,12 @@ lib_ext='.a' libc='' libperl='libperl.so' libpth='%%LIBDIRS%%' -libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' +libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so' +#libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' libspath='%%LIBDIRS%%' -libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' +libswanted='sfio socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' libswanted_uselargefiles='' line='' lint='' @@ -820,7 +820,7 @@ perl5='' perl='' perl_patchlevel='' perladmin='root@merope.dev.null' -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' +perllibs='-ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' perlpath='/usr/bin/perl' pg='pg' phostname='hostname' @@ -1093,7 +1093,7 @@ i_stdbool='define' i_syspoll='define' #incpth='/usr/lib/gcc/i486-slackware-linux/4.8.2/include /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.8.2/include-fixed /usr/include' ld_can_script='define' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +#libsfound=' /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' nv_overflows_integers_at='0' perl_static_inline='static __inline__' sGMTIME_max='2147483647' diff --git a/lang/perl/files/config.sh-powerpc.in b/lang/perl/files/config.sh-powerpc.in index ec935dd7c1..acd62b7aeb 100644 --- a/lang/perl/files/config.sh-powerpc.in +++ b/lang/perl/files/config.sh-powerpc.in @@ -740,12 +740,12 @@ lib_ext='.a' libc='' libperl='libperl.so' libpth='%%LIBDIRS%%' -libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' +libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so' +#libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' libspath='%%LIBDIRS%%' -libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' +libswanted='sfio socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' libswanted_uselargefiles='' line='' lint='' @@ -829,7 +829,7 @@ perl5='' perl='' perl_patchlevel='' perladmin='root@maia.dev.null' -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' +perllibs='-ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' perlpath='/usr/bin/perl' pg='pg' phostname='hostname' @@ -1108,7 +1108,7 @@ i_stdbool='define' i_syspoll='define' #incpth='/usr/lib/gcc/i486-slackware-linux/4.8.2/include /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.8.2/include-fixed /usr/include' ld_can_script='define' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +#libsfound=' /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' nv_overflows_integers_at='0' perl_static_inline='static __inline__' sGMTIME_max='2147483647' diff --git a/lang/perl/files/config.sh-x86_64.in b/lang/perl/files/config.sh-x86_64.in index 6ec080f586..c7bb86ca42 100644 --- a/lang/perl/files/config.sh-x86_64.in +++ b/lang/perl/files/config.sh-x86_64.in @@ -733,12 +733,12 @@ lib_ext='.a' libc='' libperl='libperl.so' libpth='%%LIBDIRS%%' -libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' +libs='-lgdbm -ldb -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' -libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +libsfiles=' libdl.so libm.so libcrypt.so libutil.so libc.so' +#libsfound=' /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' libspath='%%LIBDIRS%%' -libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' +libswanted='sfio socket inet nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' libswanted_uselargefiles='' line='' lint='' @@ -820,7 +820,7 @@ perl5='' perl='' perl_patchlevel='' perladmin='root@maia.dev.null' -perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' +perllibs='-ldl -lm -lcrypt -lutil -lc %%EXTRA_PERLLIBS%%' perlpath='/usr/bin/perl' pg='pg' phostname='hostname' @@ -1093,7 +1093,7 @@ i_stdbool='define' i_syspoll='define' #incpth='/usr/lib/gcc/i486-slackware-linux/4.8.2/include /usr/local/include /usr/lib/gcc/i486-slackware-linux/4.8.2/include-fixed /usr/include' ld_can_script='define' -#libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +#libsfound=' /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' nv_overflows_integers_at='0' perl_static_inline='static __inline__' sGMTIME_max='67768036191676799' -- 2.30.2