From 0cf28ade0b4fe9ef33941cdef68b7c4e72b91129 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 1 Mar 2009 22:35:48 +0000 Subject: [PATCH] ncurses: fixup ncurses5-config script Fixes #133. --- package/ncurses/ncurses.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index a2f938ad4c..63b7129f48 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) -- 2.30.2