MFC r262670 (marcel):

Use ${MAKE} so that we always use the same version/implementation
  of make(1).

PR:		202277
Submitted by:	John Hein
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
gjb 2015-08-13 22:29:26 +00:00
parent 8021b61826
commit 3a6b75cfa3

View File

@ -133,8 +133,8 @@ OSRELDATE= 0
.endif
.if !defined(VERSION)
REVISION!= make -C ${SRCDIR}/release -V REVISION
BRANCH!= make -C ${SRCDIR}/release -V BRANCH
REVISION!= ${MAKE} -C ${SRCDIR}/release -V REVISION
BRANCH!= ${MAKE} -C ${SRCDIR}/release -V BRANCH
SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
${SRCDIR}/sys/sys/param.h
VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE}