svn commit: r312273 - stable/10/share/mk
Ngie Cooper
ngie at FreeBSD.org
Mon Jan 16 07:17:44 UTC 2017
Author: ngie
Date: Mon Jan 16 07:17:43 2017
New Revision: 312273
URL: https://svnweb.freebsd.org/changeset/base/312273
Log:
MFC r312009:
Add license preamble for r286964; credit to asomers
While here, clean up trailing whitespace
Modified:
stable/10/share/mk/bsd.own.mk
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/share/mk/bsd.own.mk
==============================================================================
--- stable/10/share/mk/bsd.own.mk Mon Jan 16 07:15:14 2017 (r312272)
+++ stable/10/share/mk/bsd.own.mk Mon Jan 16 07:17:43 2017 (r312273)
@@ -602,6 +602,24 @@ MK_TESTS:= no
#
#
+# MK_* options whose default value depends on another option.
+#
+.for vv in \
+ GSSAPI/KERBEROS \
+ MAN_UTILS/MAN
+.if defined(WITH_${vv:H}) && defined(WITHOUT_${vv:H})
+.error WITH_${vv:H} and WITHOUT_${vv:H} can't both be set.
+.endif
+.if defined(WITH_${vv:H})
+MK_${vv:H}:= yes
+.elif defined(WITHOUT_${vv:H})
+MK_${vv:H}:= no
+.else
+MK_${vv:H}:= ${MK_${vv:T}}
+.endif
+.endfor
+
+#
# MK_*_SUPPORT options which default to "yes" unless their corresponding
# MK_* variable is set to "no".
#
@@ -627,24 +645,6 @@ MK_${var}_SUPPORT:= yes
.endfor
#
-# MK_* options whose default value depends on another option.
-#
-.for vv in \
- GSSAPI/KERBEROS \
- MAN_UTILS/MAN
-.if defined(WITH_${vv:H}) && defined(WITHOUT_${vv:H})
-.error WITH_${vv:H} and WITHOUT_${vv:H} can't both be set.
-.endif
-.if defined(WITH_${vv:H})
-MK_${vv:H}:= yes
-.elif defined(WITHOUT_${vv:H})
-MK_${vv:H}:= no
-.else
-MK_${vv:H}:= ${MK_${vv:T}}
-.endif
-.endfor
-
-#
# MK_* options that default to "yes" if the compiler is a C++11 compiler.
#
.include <bsd.compiler.mk>
More information about the svn-src-stable
mailing list