Forgot to convert demandoc along with mandoc
s/cft/ctf
Define special case for atf which libraries names are different from their
declaration
Fix build.
Do not overwrite any LIBNETBSD or LIBNETBSDDIR if they are already defined
libatf-c++ exposes libatf-c abi hence we need to explicit link to atf-c if
atf-c++ is requested
libevent is an internallib
Fix the fix
Add missing headers needed by write().
Revert r274772: it is not valid on MIPS

Reported by:	sbruno
Merge remote-tracking branch 'freebsd/master' into hardened/current/master
Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/segvguard