svn commit: r289145 - stable/10

Ian Lepore ian at FreeBSD.org
Sun Oct 11 17:59:21 UTC 2015


Author: ian
Date: Sun Oct 11 17:59:20 2015
New Revision: 289145
URL: https://svnweb.freebsd.org/changeset/base/289145

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

Modified:
  stable/10/Makefile.inc1
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/Makefile.inc1
==============================================================================
--- stable/10/Makefile.inc1	Sun Oct 11 17:45:20 2015	(r289144)
+++ stable/10/Makefile.inc1	Sun Oct 11 17:59:20 2015	(r289145)
@@ -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


More information about the svn-src-all mailing list