Date: Mon, 7 May 2007 17:25:54 +0000 From: "Wojciech A. Koszek" <wkoszek@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: INCLUDE_CONFIG_FILE patches Message-ID: <20070507172554.GA339@FreeBSD.czest.pl> In-Reply-To: <a31046fc0705070846r4a195858l4566a659f84485@mail.gmail.com> References: <20070506164247.GA77786@FreeBSD.czest.pl> <a31046fc0705070846r4a195858l4566a659f84485@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 07, 2007 at 07:46:29PM +0400, pluknet wrote:
> Hello,
>
[..]
>
> While in buildworld (namely in 'make depend' in usr.sbin/config)
> I get the following error:
>
> ===> usr.sbin/config (obj,depend,all,install)
> /usr/obj/usr/src/tmp/usr/src/usr.sbin/config created for
> /usr/src/usr.sbin/config
> yacc -d /usr/src/usr.sbin/config/config.y
> cp y.tab.c config.c
> lex -t /usr/src/usr.sbin/config/lang.l > lang.c
> file2c 'char kernconfstr[] = {' ',0};' < kernconf.tmpl > kernconf.c
> cannot open kernconf.tmpl: No such file or directory
>
> It disappears, if I put manually kernconf.tmpl in generated
> /usr/obj/usr/src/tmp/usr/src/usr.sbin/config
> Maybe I forgot something?
I belive you should have run patch(1) command with -p0 argument:
patch -p0 < patchfile
Keep up testing!
Thanks,
--
Wojciech A. Koszek
wkoszek@FreeBSD.org
http://FreeBSD.czest.pl/dunstan/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070507172554.GA339>
