summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-05-07 18:14:56 +0000
committerWarner Losh <imp@FreeBSD.org>2014-05-07 18:14:56 +0000
commit5d420b97e617912f0b0a1e2e6124c26fc5905161 (patch)
treee5697e9b24479c85ec5df7b8318119285189eb2d /share
parent7a61fc5a8eaa79ad84d8844ca26cead31b62fb29 (diff)
downloadsrc-test2-5d420b97e617912f0b0a1e2e6124c26fc5905161.tar.gz
src-test2-5d420b97e617912f0b0a1e2e6124c26fc5905161.zip
Notes
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.opts.mk19
-rw-r--r--share/mk/src.opts.mk18
2 files changed, 19 insertions, 18 deletions
diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk
index 09b607eb48f7..805200b658d7 100644
--- a/share/mk/bsd.opts.mk
+++ b/share/mk/bsd.opts.mk
@@ -65,6 +65,25 @@ __DEFAULT_NO_OPTIONS = \
.include <bsd.mkopt.mk>
+#
+# Supported NO_* options (if defined, MK_* will be forced to "no",
+# regardless of user's setting).
+#
+# These are transitional and will disappaer in the FreeBSD 12.
+#
+.for var in \
+ CTF \
+ DEBUG_FILES \
+ INSTALLLIB \
+ MAN \
+ PROFILE
+.if defined(NO_${var})
+# This warning may be premature...
+#.warning "NO_${var} is defined, but deprecated. Please use MK_${var}=no instead."
+MK_${var}:=no
+.endif
+.endfor
+
.endif # !_WITHOUT_SRCCONF
.endif
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 1b36431ce0be..f82167b87bf6 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -231,24 +231,6 @@ __DEFAULT_YES_OPTIONS+=GCC GNUCXX GCC_BOOTSTRAP
.include <bsd.mkopt.mk>
#
-# Supported NO_* options (if defined, MK_* will be forced to "no",
-# regardless of user's setting).
-#
-# These are transitional and will disappaer in the FreeBSD 12.
-#
-.for var in \
- CTF \
- DEBUG_FILES \
- INSTALLLIB \
- MAN \
- PROFILE
-.if defined(NO_${var})
-.warning "NO_${var} is defined, but deprecated. Please use MK_${var}=no instead."
-MK_${var}:=no
-.endif
-.endfor
-
-#
# MK_* options that default to "yes" if the compiler is a C++11 compiler.
#
.include <bsd.compiler.mk>