tech-pkg archive

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

Re: buitlin ncurses and pkgsrc ncursesw

Damn... ncursesw from pkgsrc may not works as expected with builtin ncurses,
because it refer ${PREFIX}/share/terminfo.

On Mon, 03 Jan 2011 16:20:26 +0900, David Holland 
<> wrote:

On Sun, Jan 02, 2011 at 11:28:53PM +0900, OBATA Akio wrote:
 > I feel that devel/ncursesw will not works with builtin ncurses.
 > Inclution of ncurses_dll.h and unctrl.h in ncurses.h to below ncurses/ with 
 > but builtin ncurses header is not in there (from check of 
 > Should the SUBST only for using with pkgsrc ncurses?
 > or should ncurses/ should create ncurses/ncurses.h and 

Check what the configure script sets up and have the SUBST do the same
thing? That SUBST is just replicating what the package's own install
goo does because the pkgsrc logic bypasses that.

 > The SUBST came from PR#43435, but it is not required in pkgsrc
 > because ncurses/ have
 > BUILDLINK_INCLUDES.ncurses+= include/ncurses

It is required in that without it, things don't work. I don't remember
the exact symptoms but if you have tin on NetBSD with

   PKG_OPTIONS.tin=-curses ncursesw -inet6

tin doesn't configure with ncurses and as a result does random tin
things that result in users getting annoyed.

Could you (or someone) provide a simple test case?

OBATA Akio /

Home | Main Index | Thread Index | Old Index