pkgsrc-Users archive

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

[UPDATE] Make finch work with ncursesw

This patch allows using Finch with ncursesw, making it possible to
finally use it. Without ncursesw, the layout will get broken when
having an unicode capable terminal and when having an ASCII terminal,
umlauts won't work.
Additionallty, the TODO file should be removed as it works.

Here's the patch:
Index: Makefile
RCS file: /cvsroot/pkgsrc/chat/finch/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile    3 Nov 2007 15:59:17 -0000       1.9
+++ Makefile    2 Feb 2008 15:52:54 -0000
@@ -24,6 +24,10 @@
 CONFIGURE_ARGS+=       --disable-gnutls
 CONFIGURE_ARGS+=       --disable-nss
 #CONFIGURE_ARGS+=      --disable-plugins
+CONFIGURE_ARGS+=       --with-ncurses-headers=${PREFIX}/include/ncursesw
+CONFIGURE_ENV+=                ac_cv_lib_ncursesw_initscr=yes
+CONFIGURE_ENV+=                ac_cv_lib_panelw_update_panels=yes
 USE_NCURSES=           yes # force ncurses, for libpanel
@@ -43,6 +47,6 @@
 .include "../../chat/libpurple/"
 .include "../../devel/gettext-lib/"
 .include "../../devel/glib2/"
-.include "../../devel/ncurses/"
+.include "../../devel/ncursesw/"
 .include "../../textproc/libxml2/"
 .include "../../mk/"


Home | Main Index | Thread Index | Old Index