dialog: fixup ncurses config script
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 17 Sep 2014 13:08:21 +0000 (10:08 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 17 Sep 2014 22:09:40 +0000 (00:09 +0200)
Point the build to the proper ncurses config script by using
$(NCURSES_CONFIG_SCRIPTS) from the ncurses package directly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dialog/dialog.mk

index 9af56e773373ee73decaf9e65a364763a638b9cf..b5a8c601ae40c7d88daabee3d63c45ab77336f9b 100644 (file)
@@ -17,6 +17,6 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
 DIALOG_DEPENDENCIES += libiconv
 endif
 
-DIALOG_CONF_OPT += NCURSES_CONFIG=$(STAGING_DIR)/usr/bin/ncurses5-config
+DIALOG_CONF_OPT += NCURSES_CONFIG=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)
 
 $(eval $(autotools-package))