Hi NetBSD-6 will ship with it's own terminfo implementation, removing the dependency on ncurses.
Attached is a patch to configure which allows this. Thanks Roy
Index: configure =================================================================== RCS file: /cvsroot/tmux/tmux/configure,v retrieving revision 1.49 diff -u -p -r1.49 configure --- configure 5 Apr 2010 22:28:25 -0000 1.49 +++ configure 21 Apr 2010 06:31:45 -0000 @@ -250,10 +250,20 @@ EOF #define HAVE_UTIL_H #define HAVE_U_INT EOF - cat <<EOF >>$CONFIG_MK + # NetBSD-6 has it's own terminfo implementation + if test -f /lib/libterminfo.so; then + cat <<EOF >>$CONFIG_MK +LIBS+= -lterminfo +EOF + else + cat <<EOF >>$CONFIG_MK CPPFLAGS+= -I/usr/pkg/include LDFLAGS+= -L/usr/pkg/lib -LIBS+= -lncurses -lcrypt -lutil -levent +LIBS+= -lncurses +EOF + fi + cat <<EOF >>$CONFIG_MK +LIBS+= -lcrypt -lutil -levent SRCS+= osdep-netbsd.c \ compat/strtonum.c \ compat/vis.c \
------------------------------------------------------------------------------
_______________________________________________ tmux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tmux-users
