Hopefully fix build breakage with gcc passing void * instead of char *
to "%s" format string after r272280.

PR:		83099 193927
MFC after:	3 days
X-MFC with:	r272280
Fix typos
Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/master
Search for the nearest PORTSDIR where Mk/bsd.ports.mk exists, from .CURDIR.
This will only take effect if PORTSDIR is not set, as previously supported.

Use .if exists(), for four specific possibilities relative to .CURDIR:
., .., ../.., and ../../..  The fourth possibility is primarily in case
ports ever grows a third level.  If none of these paths exist, fall back to
the old default of /usr/ports.

This removes the need to set PORTSDIR explicitly (or via wrapper script) if
one is running out of a ports tree that is not in /usr/ports, but in a
home directory.

Reviewed by:	bapt, bdrewery (older version)
CR:		D799
MFC after:	1 week
Sponsored by:	Spectra Logic
Merge remote-tracking branch 'freebsd/master' into hardened/current/master
Merge remote-tracking branch 'freebsd/master' into hardened/current/hardening
Merge remote-tracking branch 'freebsd/master' into hardened/current/segvguard
Merge remote-tracking branch 'freebsd/master' into hardened/current/ptrace
Merge remote-tracking branch 'freebsd/master' into hardened/current/log
Merge branch 'hardened/current/master' into hardened/current/unstable
Merge branch 'hardened/current/hardening' into hardened/current/unstable
Merge branch 'hardened/current/segvguard' into hardened/current/unstable
Merge branch 'hardened/current/ptrace' into hardened/current/unstable
Merge branch 'hardened/current/log' into hardened/current/unstable