diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-31 14:44:32 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-31 14:44:32 +0000 |
commit | 345be8bc362918e509d7e0a613317b389140f19a (patch) | |
tree | 8ffd0b5bb4b150606ee0ff1f92eba54f2d542acd /package | |
parent | 9021b9f21e36d75ef40f099e8a6e8e8cd7521af8 (diff) | |
download | buildroot-novena-345be8bc362918e509d7e0a613317b389140f19a.tar.gz buildroot-novena-345be8bc362918e509d7e0a613317b389140f19a.zip |
ncurses: cleanup /usr/lib/terminfo symlink handling
Diffstat (limited to 'package')
-rw-r--r-- | package/ncurses/ncurses.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index 51d679e4d..ecdf00ebb 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -104,7 +104,7 @@ $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/lib/libncurs $(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VERSION) cp -dpf $(NCURSES_DIR)/lib/libncurses.so* $(TARGET_DIR)/lib/ - -cp -dpf $(STAGING_DIR)/usr/lib/terminfo $(TARGET_DIR)/usr/lib/ + ln -sf /usr/share/terminfo $(TARGET_DIR)/usr/lib/terminfo 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 @@ -129,8 +129,7 @@ $(TARGET_DIR)/usr/lib/libncurses.a: $(STAGING_DIR)/lib/libncurses.a cp -dpf $(NCURSES_DIR)/include/unctrl.h $(TARGET_DIR)/usr/include/ cp -dpf $(NCURSES_DIR)/include/termcap.h $(TARGET_DIR)/usr/include/ cp -dpf $(NCURSES_DIR)/lib/libncurses.a $(TARGET_DIR)/usr/lib/ - rm -f $(TARGET_DIR)/usr/lib/terminfo - (cd $(TARGET_DIR)/usr/lib; ln -fs ../share/terminfo; \ + (cd $(TARGET_DIR)/usr/lib; \ ln -fs libncurses.a libcurses.a; \ ln -fs libncurses.a libtermcap.a; \ ) @@ -151,6 +150,7 @@ ncurses-clean: rm -f $(STAGING_DIR)/usr/lib/libncurses.so* $(TARGET_DIR)/usr/lib/libncurses.so* rm -rf $(STAGING_DIR)/usr/share/tabset $(TARGET_DIR)/usr/share/tabset rm -rf $(STAGING_DIR)/usr/share/terminfo $(TARGET_DIR)/usr/share/terminfo + rm -rf $(TARGET_DIR)/usr/lib/terminfo -$(MAKE) -C $(NCURSES_DIR) clean ncurses-dirclean: |