From 853bfa77f79e5548a580b5c8de0b32c2b667a882 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 14 Oct 2006 19:29:43 +0000 Subject: [PATCH] hack for fixing a build error in the ncurses terminfo stuff SVN-Revision: 5093 --- libs/ncurses/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ncurses/Makefile b/libs/ncurses/Makefile index 28b1e4e69..f61222c83 100644 --- a/libs/ncurses/Makefile +++ b/libs/ncurses/Makefile @@ -116,6 +116,7 @@ define Build/Compile --with-terminfo-dirs=/usr/share/terminfo \ --with-default-terminfo-dir=/usr/share/terminfo \ ); + rm -f $(PKG_BUILD_DIR)/lib/lib* $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ BUILD_CC="$(TARGET_CC)" \ @@ -129,6 +130,11 @@ define Package/libncurses/install install -d -m0755 $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu}*.so.* $(1)/usr/lib/ install -d -m0755 $(1)/usr/share/terminfo + (cd $(PKG_INSTALL_DIR)/usr/share/terminfo; \ + for dir in ??; do \ + mv $$$$dir $$$$(echo -ne "\x$$$$dir"); \ + done \ + ) for file in a/ansi d/dumb l/linux r/rxvt s/screen v/vt100 v/vt102 x/xterm x/xterm-color; do \ install -d -m0755 $(1)/usr/share/terminfo/`dirname $$$$file`; \ $(CP) $(PKG_INSTALL_DIR)/usr/share/terminfo/$$$$file \ -- 2.30.2