summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-10-11 17:59:20 +0000
committerian <ian@FreeBSD.org>2015-10-11 17:59:20 +0000
commitad02bb9b5d997a09e81b0fca575073f369cae146 (patch)
tree5e3bf2eb0e0a8d8c74a378d6903528dbced49a36 /Makefile.inc1
parentc51894a182c11e94331debf51f3eebac815d32b0 (diff)
downloadFreeBSD-src-ad02bb9b5d997a09e81b0fca575073f369cae146.zip
FreeBSD-src-ad02bb9b5d997a09e81b0fca575073f369cae146.tar.gz
MFC 288829
The latest version of lex requires the latest m4 to build, add a dependency when running the build-tools stage. The requirement is due to the -P flag used when running m4 from usr.bin/lex Makefile to generate skel.c. With the old m4 that fails and the failure is ignored, resulting in an empty(-ish) skel.c, which leads to later build failures when the misconfigured new lex tool is run. This enables building -current (and 10-stable after MFC) on a stable-8 system again.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 349b5db..649b015 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1283,6 +1283,8 @@ _cat= bin/cat
.if ${BOOTSTRAPPING} < 1000033
_lex= usr.bin/lex
+
+${_bt}-usr.bin/lex: ${_bt}-usr.bin/m4
.endif
.if ${BOOTSTRAPPING} >= 900040 && ${BOOTSTRAPPING} < 900041
OpenPOWER on IntegriCloud