Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2019 00:11:10 +0000 (UTC)
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r352782 - stable/12/share/mk
Message-ID:  <201909270011.x8R0BA7J064652@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sjg
Date: Fri Sep 27 00:11:09 2019
New Revision: 352782
URL: https://svnweb.freebsd.org/changeset/base/352782

Log:
  Document logic for __DEFAULT_DEPENDENT_OPTIONS
  
  MFC of r352370
  
  Reviewed by:	stevek
  Differential Revision:	https://reviews.freebsd.org/D21640

Modified:
  stable/12/share/mk/bsd.mkopt.mk

Modified: stable/12/share/mk/bsd.mkopt.mk
==============================================================================
--- stable/12/share/mk/bsd.mkopt.mk	Fri Sep 27 00:08:40 2019	(r352781)
+++ stable/12/share/mk/bsd.mkopt.mk	Fri Sep 27 00:11:09 2019	(r352782)
@@ -11,12 +11,16 @@
 # For each option FOO in __DEFAULT_NO_OPTIONS, MK_FOO is set to "no",
 # unless WITH_FOO is defined, in which case it is set to "yes".
 #
+# For each entry FOO/BAR in __DEFAULT_DEPENDENT_OPTIONS,
+# MK_FOO is set to "no" if WITHOUT_FOO is defined,
+# "yes" if WITH_FOO is defined, otherwise the value of MK_BAR.
+#
 # If both WITH_FOO and WITHOUT_FOO are defined, WITHOUT_FOO wins and
 # MK_FOO is set to "no" regardless of which list it was in.
 #
-# Both __DEFAULT_YES_OPTIONS and __DEFAULT_NO_OPTIONS are undef'd
-# after all this processing, allowing this file to be included
-# multiple times with different lists.
+# All of __DEFAULT_YES_OPTIONS, __DEFAULT_NO_OPTIONS and
+# __DEFAULT_DEPENDENT_OPTIONS are undef'd after all this processing,
+# allowing this file to be included multiple times with different lists.
 #
 # Other parts of the build system will set BROKEN_OPTIONS to a list
 # of options that are broken on this platform. This will not be unset



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909270011.x8R0BA7J064652>