Evaluate options after including src-env.conf and before Makefile.sys.inc.

Fixes top-level breakage in r325974.

Pointyhat to:	bdrewery
Sponsored by:	Dell
This commit is contained in:
Bryan Drewery 2017-11-18 20:10:36 +00:00
parent 7e0aabd961
commit f70bac6449
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325975

View File

@ -22,6 +22,8 @@ SRC_ENV_CONF?= /etc/src-env.conf
_src_env_conf_included_: .NOTMAIN
.endif
.include <bsd.mkopt.mk>
# Top-level installs should not use meta mode as it may prevent installing
# based on cookies.
.if make(*install*) && ${.MAKE.LEVEL} == 0