svn commit: r289773 - in head: sbin/sysctl sys/kern sys/sys

Mark Linimon linimon at lonesome.com
Fri Oct 23 21:06:12 UTC 2015


On Fri, Oct 23, 2015 at 08:09:35AM -0700, Conrad Meyer wrote:
> What is __FreeBSD_version and why would it be bumped?

__FreeBSD_version was introduced in the following commit:

  https://svnweb.freebsd.org/base/head/sys/sys/param.h?r1=34924&r2=36260

where it has been ever since:

  https://svnweb.freebsd.org/base/head/sys/sys/param.h?view=log

This variable exists to tell the Ports Collection, among others,
that "something has changed that may require you to patch and/or
recompile."

The historical values are documented in

  https://www.freebsd.org/doc/en/books/porters-handbook/versions.html#freebsd-versions-table

Your mentor should have shown you this information.

mcl


More information about the svn-src-head mailing list