INCLUDE_CONFIG_FILE patches

Wojciech A. Koszek wkoszek at freebsd.org
Mon May 7 16:51:18 UTC 2007


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 at FreeBSD.org
http://FreeBSD.czest.pl/dunstan/


More information about the freebsd-current mailing list