summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-10 15:59:56 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-10 16:00:36 +0200
commit975f7160dd1df08a7c02ad5de5cce07edd377b12 (patch)
tree6ec26773cea7f5eeea4340ecbdb39a2e98ff0723
parentf6059cc118709b98ac7865e9487e686f2e8a310c (diff)
downloadmtk-20170518-975f7160dd1df08a7c02ad5de5cce07edd377b12.zip
mtk-20170518-975f7160dd1df08a7c02ad5de5cce07edd377b12.tar.gz
mtk-20170518-975f7160dd1df08a7c02ad5de5cce07edd377b12.tar.bz2
ncurses: package the tinfo library separately
Some packages expect it that way Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/libs/ncurses/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile
index 94da02e..6a56fc5 100644
--- a/package/libs/ncurses/Makefile
+++ b/package/libs/ncurses/Makefile
@@ -61,6 +61,7 @@ CONFIGURE_ARGS += \
--disable-home-terminfo \
--with-normal \
--with-shared \
+ --with-termlib \
--with-terminfo-dirs=/usr/share/terminfo \
--with-default-terminfo-dir=/usr/share/terminfo \
--enable-widec \
@@ -116,7 +117,7 @@ endef
define Package/libncursesw/install
$(INSTALL_DIR) $(1)/usr/lib
- for lib in ncurses panel menu form; do \
+ for lib in ncurses panel menu form tinfo; do \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$$$${lib}w.so* $(1)/usr/lib/; \
ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \
done
@@ -124,7 +125,7 @@ endef
define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/* $(1)
- for lib in ncurses panel menu form; do \
+ for lib in ncurses panel menu form tinfo; do \
ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \
done
$(INSTALL_DIR) $(2)/bin