Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2015 17:45:14 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288829 - head
Message-ID:  <201510051745.t95HjE29027722@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Mon Oct  5 17:45:13 2015
New Revision: 288829
URL: https://svnweb.freebsd.org/changeset/base/288829

Log:
  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.
  
  MFC after:	3 days

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Mon Oct  5 17:21:17 2015	(r288828)
+++ head/Makefile.inc1	Mon Oct  5 17:45:13 2015	(r288829)
@@ -1322,6 +1322,8 @@ _cat=		bin/cat
 
 .if ${BOOTSTRAPPING} < 1000033
 _lex=		usr.bin/lex
+
+${_bt}-usr.bin/lex: ${_bt}-usr.bin/m4
 .endif
 
 # r277259 crunchide: Correct 64-bit section header offset



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