diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-06-15 23:57:57 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-06-15 23:57:57 +0000 |
commit | 9b42513fd187c60bad479d8cc4ff4b7ec4694845 (patch) | |
tree | 8b9e94d186e41332df857935da5cc84255e9e38d /share | |
parent | d466d9df05853f2aeecbc2bb4469027c0f77bd64 (diff) | |
download | FreeBSD-src-9b42513fd187c60bad479d8cc4ff4b7ec4694845.zip FreeBSD-src-9b42513fd187c60bad479d8cc4ff4b7ec4694845.tar.gz |
WITH_META_MODE: Keep .MAKE.MODE/META_MODE clean
Due to META_MODE being passed into the environment it tends
to keep growing with the defaults.
Approved by: re (implicit)
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/sys.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index cccc543..b337aa2 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -425,6 +425,10 @@ __MAKE_CONF?=/etc/make.conf # late include for customization .sinclude <local.sys.mk> +.if defined(META_MODE) +META_MODE:= ${META_MODE:O:u} +.endif + .if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL) SHELL= ${__MAKE_SHELL} .SHELL: path=${__MAKE_SHELL} |