On Sat, Aug 22, 2020 at 03:29:36PM -0500, Douglas R. Reno via blfs-dev wrote:
> Hello folks,
>
>
> Since Procmail is tagged already, I would like to request permission to add
> 'libnsl' as an optional dependency in procmail. I spotted this while working
> on my SysV system:
>
> cc -O procmail.o cstdio.o common.o exopen.o goodies.o locking.o mailfold.o
> foldinfo.o misc.o pipes.o regexp.o robust.o sublib.o acommon.o mcommon.o
> lastdirsep.o authenticate.o lmtp.o memblk.o variables.o from.o comsat.o -o
> procmail -s -lm -lnsl -ldl -lc
>
> As you can see, it's mentioning 'libnsl' as a library it's attempting to
> link to. Checking on my systemd system:
>
> cc -O procmail.o cstdio.o common.o exopen.o goodies.o locking.o mailfold.o
> foldinfo.o misc.o pipes.o regexp.o robust.o sublib.o acommon.o mcommon.o
> lastdirsep.o authenticate.o lmtp.o memblk.o variables.o from.o comsat.o -o
> procmail -s -lm -ldl -lc
>
> Procmail seems to be rather difficult to identify dependencies for.
>
>
> - Doug
>
Interesting.
On 9.1 sysv
/bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \
"-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun -lgen
-lsockdns -ldl" \
"/lib /usr/lib /usr/local/lib" \
/dev/null "make" o \
"cc" "-O2 -march=native -fstack-clash-protection -D_FORTIFY_SOURCE=2
-fstack-protector-strong " "-s " "procmail lockfile formail mailstat" \
"procmail formail lockfile" \
"procmailrc procmailsc procmailex" "src man" \
"/usr/bin" \
"strip"
cc seems to work fine, using that as the C-compiler
...scanning for 13 libraries...
Added LDFLAGS= -lm -ldl -lc
[...]
(no other mentions)
I see that I do not normally build libnsl, and on 9.1 I certainly
didn't install it.
On 10.0-rc1 testing I see the same thing.
So I guess that any of those libs in the "-lm ..." string which are
in BLFS (some of them don't sound very linuxy) will be used if
available.
No objection.
ĸen
--
Juliet's version of cleanliness was next to godliness, which was to
say it was erratic, past all understanding and was seldom seen.
-- Unseen Academicals
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page