summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-01 22:35:48 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-01 22:35:48 +0000
commit0cf28ade0b4fe9ef33941cdef68b7c4e72b91129 (patch)
tree110da1aea2513a72c251c7ccde9da74a5243b725
parentc23c30838c8f14c2dd442c737289edb83156c770 (diff)
ncurses: fixup ncurses5-config script
Fixes #133.
-rw-r--r--package/ncurses/ncurses.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index a2f938ad4..63b7129f4 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -100,6 +100,8 @@ $(STAGING_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/lib/libn
ticdir=$(STAGING_DIR)/usr/share/terminfo \
-C $(NCURSES_DIR) install
chmod a-x $(NCURSES_DIR)/lib/libncurses.so*
+ $(SED) 's^prefix="^prefix="$(STAGING_DIR)^' \
+ $(STAGING_DIR)/bin/ncurses5-config
touch -c $@
$(TARGET_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION): $(STAGING_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION)