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
This commit is contained in:
John Baldwin 2023-09-08 16:36:52 -07:00
parent 3555be0124
commit 9c80d66ec1

View File

@ -127,7 +127,7 @@ show()
exit 1 exit 1
;; ;;
esac 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,}'` -V '${__REQUIRED_OPTIONS:ts,}'`
env -i ${make} .MAKE.MODE=normal "$@" showconfig __MAKE_CONF=/dev/null \ env -i ${make} .MAKE.MODE=normal "$@" showconfig __MAKE_CONF=/dev/null \
SRCCONF=/dev/null | SRCCONF=/dev/null |