diff mbox

[PATCHv3,6/6] dialog: fixup ncurses config script

Message ID 1410959301-28053-7-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit d365364fa505e5c851fb8a6ba3d6c72708f13c3d
Headers show

Commit Message

Gustavo Zacarias Sept. 17, 2014, 1:08 p.m. UTC
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>
---
 package/dialog/dialog.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/package/dialog/dialog.mk b/package/dialog/dialog.mk
index 9af56e7..b5a8c60 100644
--- a/package/dialog/dialog.mk
+++ b/package/dialog/dialog.mk
@@ -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))