Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2016 04:03:15 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r296888 - stable/8
Message-ID:  <201603150403.u2F43FSl060775@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Tue Mar 15 04:03:15 2016
New Revision: 296888
URL: https://svnweb.freebsd.org/changeset/base/296888

Log:
  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.

Modified:
  stable/8/Makefile.inc1

Modified: stable/8/Makefile.inc1
==============================================================================
--- stable/8/Makefile.inc1	Tue Mar 15 03:20:24 2016	(r296887)
+++ stable/8/Makefile.inc1	Tue Mar 15 04:03:15 2016	(r296888)
@@ -953,6 +953,7 @@ _lex=		usr.bin/lex
 .endif
 
 .if ${BOOTSTRAPPING} >= 1000013
+_lex=		usr.bin/lex
 _yacc=		lib/liby \
 		usr.bin/yacc
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603150403.u2F43FSl060775>