summaryrefslogtreecommitdiffstats
path: root/include/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-09-17 09:17:33 +0000
committerru <ru@FreeBSD.org>2004-09-17 09:17:33 +0000
commita4752ef7b05bd249ea83adf6fd834f2ed9163cc1 (patch)
tree5c57453083b1d9f939bc9ccde158e524faf9fadb /include/Makefile
parent2f0f4e47e4bcc1ae067311007ccc31e9aa3fa800 (diff)
downloadFreeBSD-src-a4752ef7b05bd249ea83adf6fd834f2ed9163cc1.zip
FreeBSD-src-a4752ef7b05bd249ea83adf6fd834f2ed9163cc1.tar.gz
Pass the idea of the make(1) binary to use down to newvers.sh.
This is necessary so source upgrades use the correct binary. MFC after: 3 days For the record: Problem spotted by Scott Long, who mentioned that source upgrades from 4.7 to recent 5.x and 6.0 are broken. Detailed analysis shows that 4.7 has a broken make(1) binary. A breakage was fixed in RELENG_4 in make/main.c,v 1.35.2.7 by imp@, though the commit log erroneously stated "MFC 1.68" while in fact it should have been spelled as "MFC 1.67".
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index 1a7e65a..f12dcb1 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -64,7 +64,7 @@ osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh \
${.CURDIR}/Makefile
@${ECHO} creating osreldate.h from newvers.sh
@setvar PARAMFILE ${.CURDIR}/../sys/sys/param.h; \
- . ${.CURDIR}/../sys/conf/newvers.sh; \
+ MAKE=${MAKE} . ${.CURDIR}/../sys/conf/newvers.sh; \
echo "$$COPYRIGHT" > osreldate.h; \
echo "#ifdef _KERNEL" >> osreldate.h; \
echo '#error "<osreldate.h> cannot be used in the kernel, use <sys/param.h>"' >> osreldate.h; \
OpenPOWER on IntegriCloud