Allow the shell used by make(1) to be changed early via the

__MAKE_SHELL variable.  This feature isn't supposed to be in wide
use, but it's needed now to make `installworld' independent of the
stock binaries and libs so that radical ABI changes can go in safely.

Reviewed by:	ru
This commit is contained in:
yar 2007-10-27 18:40:34 +00:00
parent 31933d8615
commit 2913d80333

View File

@ -256,6 +256,11 @@ __MAKE_CONF?=/etc/make.conf
.include "${__MAKE_CONF}"
.endif
.if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL)
SHELL= ${__MAKE_SHELL}
.SHELL: path=${__MAKE_SHELL}
.endif
# Default executable format
# XXX hint for bsd.port.mk
OBJFORMAT?= elf