summaryrefslogtreecommitdiff
path: root/package/ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'package/ncurses')
-rw-r--r--package/ncurses/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index 9dd44d4cc..cd41f0f92 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -24,6 +24,7 @@ CONFIGURE_ARGS+= --without-cxx \
--with-build-cc=${HOSTCC} \
--without-progs \
--with-fallbacks \
+ --disable-termcap \
--without-ada \
--with-shared \
--with-normal \
@@ -69,8 +70,9 @@ post-install:
${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/share/terminfo/
for f in ansi dumb linux rxvt screen vt100 vt102 \
vt220 wsvt25 xterm xterm-color xterm-xfree86; do \
+ ${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/share/terminfo/$${f:0:1}; \
${INSTALL_DATA} ${WRKINST}/usr/share/terminfo/*/$$f \
- ${IDIR_LIBNCURSES}/usr/share/terminfo/$$f; \
+ ${IDIR_LIBNCURSES}/usr/share/terminfo/$${f:0:1}/$$f; \
done
${INSTALL_DIR} ${IDIR_LIBNCURSES_DEV}/usr/include
${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBNCURSES_DEV}/usr/include