tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Using ncursesw with p5-Curses
> So, what's the supposed way to use ncursesw?
The following seems to work:
Index: mk/curses.buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/curses.buildlink3.mk,v
retrieving revision 1.17
diff -u -r1.17 curses.buildlink3.mk
--- mk/curses.buildlink3.mk 7 Feb 2010 10:28:13 -0000 1.17
+++ mk/curses.buildlink3.mk 4 Mar 2014 19:39:20 -0000
@@ -52,6 +52,7 @@
_CURSES_ACCEPTED+= curses # system curses exists
.endif
_CURSES_ACCEPTED+= ncurses # pkgsrc ncurses
+_CURSES_ACCEPTED+= ncursesw # pkgsrc ncursesw (ncurses with wide
character support)
_CURSES_ACCEPTED+= pdcurses # pkgsrc pdcurses
_CURSES_TYPE= ${CURSES_DEFAULT}
@@ -85,6 +86,12 @@
BUILDLINK_PREFIX.curses?= ${BUILDLINK_PREFIX.ncurses}
BUILDLINK_LIBNAME.curses?= ${BUILDLINK_LIBNAME.ncurses}
BUILDLINK_LDADD.curses?= ${BUILDLINK_LDADD.ncurses}
+.elif ${CURSES_TYPE} == "ncursesw"
+USE_NCURSES= yes
+. include "../../devel/ncursesw/buildlink3.mk"
+BUILDLINK_PREFIX.curses?= ${BUILDLINK_PREFIX.ncursesw}
+BUILDLINK_LIBNAME.curses?= ${BUILDLINK_LIBNAME.ncursesw}
+BUILDLINK_LDADD.curses?= ${BUILDLINK_LDADD.ncursesw}
.elif ${CURSES_TYPE} == "pdcurses"
. include "../../devel/pdcurses/buildlink3.mk"
BUILDLINK_PREFIX.curses?= ${BUILDLINK_PREFIX.pdcurses}
Home |
Main Index |
Thread Index |
Old Index