NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: segfault in libterminfo with ncurses with nethack



On Fri, 1 Sep 2023, Rhialto wrote:

I did an experiment with a Makefile.test which just contains

PREFER.curses=          pkgsrc
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
[...]
Then I noticed the symlink: /usr/lib/libtermcap.so@ -> libterminfo.so
That's probably how it got linked, and not removed...


So, something like this:

PREFER.curses=	pkgsrc
.include "../../mk/curses.buildlink3.mk"
.if ! ${PREFER.curses:U} == "pkgsrc"
.include "../../mk/termcap.buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"

or whatever equivalent the in mk/termcap.buildlink3.mk since I see that
PDcurses also has terminfo functions built-in.

-RVP


Home | Main Index | Thread Index | Old Index