Date: Wed, 19 Jan 2011 13:03:33 +0600 From: Max Khon <fjoe@samodelkin.net> To: Eugene Grosbein <egrosbein@rdtc.ru> Cc: freebsd-stable@freebsd.org, Olivier Certner <olivier.freebsd@free.fr> Subject: Re: 8.2-PRE: hastd: Compile Error Message-ID: <AANLkTik4%2BjG4hEc6g6T6hnaXE3HZ3Uxn28z_5VxX2%2Bu_@mail.gmail.com> In-Reply-To: <4D35673A.9000408@rdtc.ru> References: <alpine.BSF.2.00.1101171638080.70357@borg> <20110118073441.GT34926@laa.zp.ua> <4D354ADC.6030207@rdtc.ru> <201101180947.37356.olivier.freebsd@free.fr> <4D35673A.9000408@rdtc.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Eugene,
On Tue, Jan 18, 2011 at 4:11 PM, Eugene Grosbein <egrosbein@rdtc.ru> wrote:
On 18.01.2011 14:47, Olivier Certner wrote:
> >> That's not a solution for 7->8 upgrade as new lex won't run under 7.x
> >> kernel.
> >
> > I can confirm that compiling and installing 'lex' in advance
> produces a
> > working 'lex' on 7.x.
> >
> > My current understanding is that the procedure mentioned in a
> previous mail
> > uses the 8.x source but the 7.x tools and headers, so 'lex' then runs
> > correctly, since it also doesn't depend on exotic kernel features found
> only
> > in 8.x.
>
> Got it, thanks. This is still workaround until real fix made, not solution.
Please try attached patch.
Max
[-- Attachment #2 --]
Index: Makefile.inc1
===================================================================
--- Makefile.inc1 (revision 217534)
+++ Makefile.inc1 (working copy)
@@ -926,6 +930,10 @@
_ar= usr.bin/ar
.endif
+.if ${BOOTSTRAPPING} < 802000
+_lex= usr.bin/lex
+.endif
+
.if ${BOOTSTRAPPING} < 800013
_mklocale= usr.bin/mklocale
.endif
@@ -951,6 +959,7 @@
${_gperf} \
${_groff} \
${_ar} \
+ ${_lex} \
usr.bin/lorder \
usr.bin/makewhatis \
${_mklocale} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik4%2BjG4hEc6g6T6hnaXE3HZ3Uxn28z_5VxX2%2Bu_>
