Convert mandoc to LIBADD

While here remove the ugly LDMANDOC


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274989 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Convert makefs to LIBADD

Add definition of libnetbsd in src.libnames.mk


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274990 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Each time something links to sqlite3 it should link to pthread


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274991 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f