ncurses: fix path to patch ncurses5-config
authorLionel Landwerlin <llandwerlin@gmail.com>
Fri, 30 Apr 2010 00:42:08 +0000 (02:42 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 3 May 2010 08:06:34 +0000 (10:06 +0200)
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/ncurses/ncurses.mk

index 79560b12188bc7dd7b364ee56f0c67d553d810a2..584a96902dfe740768fae1759895448fab2ce0d5 100644 (file)
@@ -57,10 +57,10 @@ endef
 
 define NCURSES_PATCH_NCURSES_CONFIG
        $(SED) 's^prefix="^prefix="$(STAGING_DIR)^' \
-               $(STAGING_DIR)/bin/ncurses5-config
+               $(STAGING_DIR)/usr/bin/ncurses5-config
 endef
 
-NCURSES_POST_BUILD_HOOKS += NCURSES_PATCH_NCURSES_CONFIG
+NCURSES_POST_STAGING_INSTALL_HOOKS += NCURSES_PATCH_NCURSES_CONFIG
 
 ifeq ($(BR2_HAVE_DEVFILES),y)
 define NCURSES_INSTALL_TARGET_DEVFILES