git: 66957ade1e57 - main - bsd.opts.mk: drop transtion aid for NO_* options

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Fri, 15 Mar 2024 23:07:01 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=66957ade1e577092badf838ea04b3477ac5ffa0f

commit 66957ade1e577092badf838ea04b3477ac5ffa0f
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-03-15 23:00:46 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-03-15 23:00:46 +0000

    bsd.opts.mk: drop transtion aid for NO_* options
    
    Setting NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB, NO_MAN, NO_PROFILE,
    and NO_WARNS was deprecated in 2014 and made an error prior to the
    13.0.0 release in commit d3a5bf95f2013af081607abd91b5175f6eafa563.
    Likewise, NO_WERROR was made an error prior to 13.0.0 in commit
    7fa2f2a62f04f095e1e27ad55aa22a8f59b1df8f.
    
    Remove this transition aid making these variables no-ops as setting them
    will result in an error on all supported releases.
    
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D44345
---
 share/mk/bsd.opts.mk | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/share/mk/bsd.opts.mk b/share/mk/bsd.opts.mk
index dcfe64ac1350..38d53cc6bf30 100644
--- a/share/mk/bsd.opts.mk
+++ b/share/mk/bsd.opts.mk
@@ -112,26 +112,6 @@ __INIT_ALL_DEFAULT=	none
 
 .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 \
-    WARNS \
-    WERROR
-.if defined(NO_${var})
-.error NO_${var} is defined, but deprecated. Please use MK_${var}=no instead.
-MK_${var}:=no
-.endif
-.endfor
-
 .include <bsd.cpu.mk>
 
 .endif # !_WITHOUT_SRCCONF