]> xenbits.xen.org Git - xenclient/build.git/commitdiff
[package/ncurses] Fix ncurses5-config
authorJean Guyader <jean.guyader@eu.citrix.com>
Tue, 12 Jan 2010 18:34:25 +0000 (18:34 +0000)
committerJean Guyader <jean.guyader@eu.citrix.com>
Tue, 12 Jan 2010 18:34:25 +0000 (18:34 +0000)
package/ncurses/ncurses.mk

index dc2d0620e97260353f4407d840e18c8d053d0c79..e06bfc2e23a46f3b58234ae29ad45304b3459397 100644 (file)
@@ -99,6 +99,7 @@ $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/lib/libncurs
            gxx_include_dir=$(STAGING_DIR)/usr/include/c++ \
            ticdir=$(STAGING_DIR)/usr/share/terminfo \
            -C $(NCURSES_DIR) install
+       sed -i'' -re 's+/usr+$(STAGING_DIR)+g' $(STAGING_DIR)/bin/ncurses5-config
        chmod a-x $(NCURSES_DIR)/lib/libncurses.so*
        touch -c $@