From 608b975eef6d16ae807ca2916aa6d3bd42a19421 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 15 Mar 2016 04:03:15 +0000 Subject: [PATCH] When building on a newer host, boostrap using lex from the stable-8 source to match the yacc being used from that source. This avoids a build error caused by the newer lex emitting a yylex() decl that's already in the source. This is a direct commit to stable-8; there is no corresponding change in later branches to MFC from. For the record, the new lex came in at version 1000032, but slipping it into the 1000013 block makes more sense than creating a whole new .if block for it. git-svn-id: svn://svn.freebsd.org/base/stable/8@296888 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- Makefile.inc1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index 023d9a045..cce0b4ea4 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -953,6 +953,7 @@ _lex= usr.bin/lex .endif .if ${BOOTSTRAPPING} >= 1000013 +_lex= usr.bin/lex _yacc= lib/liby \ usr.bin/yacc .endif -- 2.42.0