Mk: sync with FreeBSD