git: 9c80d66ec1b4 - main - makeman: Use ${make} instead of plain make to compute ${requireds}

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 08 Sep 2023 23:37:16 UTC
The branch main has been updated by jhb:

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

commit 9c80d66ec1b4c5b9ac7aaf5b0fdbb1628d49c181
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-09-08 23:36:52 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-09-08 23:36:52 +0000

    makeman: Use ${make} instead of plain make to compute ${requireds}
    
    This is currently a no-op but can matter for downstreams whose ${make}
    includes additional settings.
    
    Reviewed by:    imp, emaste
    Obtained from:  CheriBSD
    Sponsored by:   DARPA
    Differential Revision:  https://reviews.freebsd.org/D41777
---
 tools/build/options/makeman | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/build/options/makeman b/tools/build/options/makeman
index f4089d453801..30416b03b983 100755
--- a/tools/build/options/makeman
+++ b/tools/build/options/makeman
@@ -127,7 +127,7 @@ show()
 		exit 1
 		;;
 	esac
-	requireds=`env -i make -f ${srcdir}/share/mk/src.opts.mk \
+	requireds=`env -i ${make} -f ${srcdir}/share/mk/src.opts.mk \
 	    -V '${__REQUIRED_OPTIONS:ts,}'`
 	env -i ${make} .MAKE.MODE=normal "$@" showconfig __MAKE_CONF=/dev/null \
 	    SRCCONF=/dev/null |