Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2012 23:42:52 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r236128 - stable/9
Message-ID:  <201205262342.q4QNgqAg013648@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Sat May 26 23:42:52 2012
New Revision: 236128
URL: http://svn.freebsd.org/changeset/base/236128

Log:
  Make yacc a bootstrap tool if building on head, since the new yacc is
  not 100% backward compatible.  Also, build yacc before lex, because lex
  requires yacc but not vice versa.

Modified:
  stable/9/Makefile.inc1

Modified: stable/9/Makefile.inc1
==============================================================================
--- stable/9/Makefile.inc1	Sat May 26 23:10:36 2012	(r236127)
+++ stable/9/Makefile.inc1	Sat May 26 23:42:52 2012	(r236128)
@@ -1026,6 +1026,9 @@ _sed=		usr.bin/sed
 
 .if ${BOOTSTRAPPING} < 900006
 _lex=		usr.bin/lex
+.endif
+
+.if ${BOOTSTRAPPING} < 900006 || ${BOOTSTRAPPING} > 1000012
 _yacc=		usr.bin/yacc
 .endif
 
@@ -1080,8 +1083,8 @@ bootstrap-tools:
     ${_mklocale} \
     usr.bin/rpcgen \
     ${_sed} \
-    ${_lex} \
     ${_yacc} \
+    ${_lex} \
     usr.bin/xinstall \
     ${_gensnmptree} \
     usr.sbin/config \



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