svn commit: r298701 - in projects/zfsd/head: cddl/sbin/zfsd share/mk

Ngie Cooper yaneurabeya at gmail.com
Wed Apr 27 19:45:16 UTC 2016


On Wed, Apr 27, 2016 at 9:20 AM, Alan Somers <asomers at freebsd.org> wrote:

...

> Ok, I'll change it.  Is that a recent change?  When it was still NO_MAN,
> make printed an error advising me to use "MK_MAN=no".

- MK_MAN=no/NO_MAN is for turning off manpage support.
- MAN= is for explicitly declaring that no manpages are included in
the subdirectory.

MAN= has been present for a number of years, but only became important
in FreeBSD 11.x because of the NO_MAN= deprecation, soon to be removal
in 12 according to imp at .

I added the snippet below to a commonly used Makefile at $work.

Thanks,
-Ngie

# See share/mk/bsd.mkopts.mk at r276556 note about deprecating NO_foo in FreeBSD 12
.ifdef NO_MAN
.error "${.CURDIR}: NO_MAN has been deprecated in future revisions of
FreeBSD; please use MAN= instead"
.endif


More information about the svn-src-projects mailing list