Friday, May 27, 2022

Re: [update] emulators/bochs to 2.7

Omar Polo <op@openbsd.org> wrote:
> rgc <rgcinjp@disroot.org> wrote:
> > checking for mvaddch in -lcurses... yes
> > Package curses was not found in the pkg-config search path
> > checking for mvaddch in -lncurses... yes
> > Package ncurses was not found in the pkg-config search path
> > checking for mvaddch in -ltermlib... yes
> > Package termlib was not found in the pkg-config search path
> > checking for mvaddch in -lpdcurses... no
> > Curses library not found: tried curses, ncurses, termlib and pdcurses.
> > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2928 'do-configure': @for d in /usr/ports/pobj/bochs-2.7/bochs-2.7; do cp -f /u...)
> > *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2948 '/usr/ports/pobj/bochs-2.7/.configure_done': @cd /usr/ports/emulators/bochs ...)
> > *** Error 2 in /usr/ports/emulators/bochs (/usr/ports/infrastructure/mk/bsd.port.mk:2607 'all': @lock=bochs-2.7; export _LOCKS_HELD=" bochs...)
> >
> > one thing to note about the patch i originally submitted.
> > i removed "--with-term" because i could not figure out how
> > to fix the above ^^^ error, even with ncurses installed
> >
> > i still haven't figured out the problem but attaching a
> > modified patch with "--with-term" which, of course, does
> > not compile
>
> the configure script wants to get the LDFLAGS for ncurses using
> pkg-config, but we don't ship .pc files for libncurses, so it fails.
>
> Fixing it is not difficult, but we need to patch the configure script a
> bit and regen it, I don't see a simpler solution.

I committed the update, thanks :)

> I'm also a bit hesitant in dropping the no_x11 flavor yet, if we really
> want to do it then we may also rearrange the makefile a bit. I'd
> postpone that matter.

No comments:

Post a Comment