Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2015 17:59:20 +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-10@freebsd.org
Subject:   svn commit: r289145 - stable/10
Message-ID:  <201510111759.t9BHxKLF033836@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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