On Tue, May 15, 2001 at 05:33:54PM +0300, Ruslan Ermilov wrote:
> OK, more details on 4.3-STABLE -> 5.0-CURRENT upgrade path breakage.
> 1.  kbdcontrol(1) is used by usr.sbin/sysinstall/Makefile to generate
>     keymap.h with keyboard maps.
> 2.  Recent usr.sbin/sysinstall/Makefile wants to generate keymap.h
>     from "current" keymap sources in ../../share/syscons/keymaps,
>     so it should use "current" kbdcontrol(1) as well because:
>     a) only -CURRENT kbdcontrol(1) understands ${KEYMAP_PATH}
>     b) only "current" kbdcontrol(1) may understand "current" keymap
>        file syntax, as is the keyboard "paste" feature for now.
> 3.  So usr.sbin/kbdcontrol should be in Makefile.inc1:bootstrap-tools.
> 4.  But bootstrap-tools are supposed to be built in a host environment,
>     and -CURRENT kbdcontrol(1) couldn't be built on -STABLE because it
>     requires -CURRENT sys/sys/kbio.h header (the PASTE define).
> I'm currently testing with -I${.CURDIR}/../../sys added to the
> kbdcontrol/Makefile, but this is a gross hack.

Can't you teach sysinstall/Makefile to use the kbdcontrol in
${.OBJDIR}/../kbdcontrol/kbdcontrol instead, and make it somehow
depend on kbdcontrol being built beforehand?


This sentence would be seven words long if it were six words shorter.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to