git: c4c981c1e60b - main - Move include of site.src.opts.mk to allow more control

From: Simon J. Gerraty <sjg_at_FreeBSD.org>
Date: Mon, 17 Apr 2023 17:45:07 UTC
The branch main has been updated by sjg:

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

commit c4c981c1e60b72d25258739c635cacbc88fa1d4c
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2023-04-17 17:44:37 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2023-04-17 17:44:37 +0000

    Move include of site.src.opts.mk to allow more control
    
    Sometimes a site may have different policy needs,
    include site.src.opts.mk just before bsd.mkopt.mk to allow
    more control.
    
    Reviewed by: imp
---
 share/mk/src.opts.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 8032284d964e..f40f35e6e2d9 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -239,8 +239,6 @@ __DEFAULT_DEPENDENT_OPTIONS= \
 __DEFAULT_DEPENDENT_OPTIONS+= ${var}_SUPPORT/${var}
 .endfor
 
-.-include <site.src.opts.mk>
-
 #
 # Default behaviour of some options depends on the architecture.  Unfortunately
 # this means that we have to test TARGET_ARCH (the buildworld case) as well
@@ -365,6 +363,8 @@ __DEFAULT_NO_OPTIONS+=NETLINK
 __DEFAULT_NO_OPTIONS+=NETLINK_SUPPORT
 .endif
 
+.-include <site.src.opts.mk>
+
 .include <bsd.mkopt.mk>
 
 #