In Debian we use at package build time a helper "dpkg-shlibdeps" that checks claimed library dependencies of binaries to be installed. In cases were a build system implement linking that is in fact not needed since all relevant symbols are missing, then this helper prints a warning message.
The list below contains those warnings on a GNU/kFreeBSD system building inetutils-1.8. I have inserted a newline where another executable comes into scope, this is to ease the reading. Thank you. Hopefully you will be convinced fo the relevance of the present suggestion by this heavy list. It only convinces me that Debian is doing something wrong; we don't link to libnsl, or libdl--other libraries might! We do link to other libraries (if they exist), and symbols in those libraries are not used there is no harm in doing so. I've pushed a patch that cleans up things a bit, I would be suprised it it fixes any of the silly things that Debian tries to impose though if it does I'm happy, if it doesn't then someone needs to fix this aweful dpkg-shlibdebs script.
