summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-06-09 12:26:20 +0000
committerEric Andersen <andersen@codepoet.org>2005-06-09 12:26:20 +0000
commitd76bf2a472c912c8f7a9f738f9f4059f114e3d98 (patch)
treea0cd4bbaebb4d20df73932029a93aac8bdb37409 /package
parent178a317d2656f8492dbf0f1ed691da0ece79b83f (diff)
http://bugs.uclibc.org/view.php?id=285
The ncurses package make file does not install the terminfo files into the correct directory. The attached patch (against svn) corrects this problem.
Diffstat (limited to 'package')
-rw-r--r--package/ncurses/ncurses.mk15
1 files changed, 11 insertions, 4 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index a4bd78d1d..6e35c3de5 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -97,10 +97,17 @@ $(STAGING_DIR)/lib/libncurses.a: $(NCURSES_DIR)/lib/libncurses.so.5.2
$(TARGET_DIR)/lib/libncurses.so.5.2: $(STAGING_DIR)/lib/libncurses.a
cp -dpf $(NCURSES_DIR)/lib/libncurses.so* $(TARGET_DIR)/lib/
-cp -dpf $(STAGING_DIR)/usr/lib/terminfo $(TARGET_DIR)/usr/lib/
- mkdir -p $(TARGET_DIR)/usr/share/terminfo
- for i in x/xterm x/xterm-color x/xterm-xfree86 v/vt100 v/vt200 a/ansi l/linux; do \
- cp -dpf $(STAGING_DIR)/usr/share/terminfo/$${i} $(TARGET_DIR)/usr/share/terminfo/; \
- done
+ mkdir -p $(TARGET_DIR)/usr/share/terminfo/x
+ cp -dpf $(STAGING_DIR)/usr/share/terminfo/x/xterm $(TARGET_DIR)/usr/share/terminfo/x
+ cp -dpf $(STAGING_DIR)/usr/share/terminfo/x/xterm-color $(TARGET_DIR)/usr/share/terminfo/x
+ cp -dpf $(STAGING_DIR)/usr/share/terminfo/x/xterm-xfree86 $(TARGET_DIR)/usr/share/terminfo/x
+ mkdir -p $(TARGET_DIR)/usr/share/terminfo/v
+ cp -dpf $(STAGING_DIR)/usr/share/terminfo/v/vt100 $(TARGET_DIR)/usr/share/terminfo/v
+ cp -dpf $(STAGING_DIR)/usr/share/terminfo/v/vt200 $(TARGET_DIR)/usr/share/terminfo/v
+ mkdir -p $(TARGET_DIR)/usr/share/terminfo/a
+ cp -dpf $(STAGING_DIR)/usr/share/terminfo/a/ansi $(TARGET_DIR)/usr/share/terminfo/a
+ mkdir -p $(TARGET_DIR)/usr/share/terminfo/l
+ cp -dpf $(STAGING_DIR)/usr/share/terminfo/l/linux $(TARGET_DIR)/usr/share/terminfo/l
touch -c $(TARGET_DIR)/lib/libncurses.so.5.2
$(TARGET_DIR)/usr/lib/libncurses.a: $(STAGING_DIR)/lib/libncurses.a