[Buildroot] [PATCH] dialog: Override ncurses config script

Maarten ter Huurne maarten at treewalker.org
Thu Sep 11 02:40:34 UTC 2014


Without the override, systemwide ncurses6-config can be found instead
of ncurses5-config from staging.

Signed-off-by: Maarten ter Huurne <maarten at treewalker.org>
---
My previous patch contained a bug: DIALOG_CONF_OPT was overridden
instead of appended to. This was not fatal on the build I tested it
with but can break other builds. Below is the corrected patch.

 package/dialog/dialog.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/dialog/dialog.mk b/package/dialog/dialog.mk
index fb00c9c..9af56e7 100644
--- a/package/dialog/dialog.mk
+++ b/package/dialog/dialog.mk
@@ -17,4 +17,6 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
 DIALOG_DEPENDENCIES += libiconv
 endif
 
+DIALOG_CONF_OPT += NCURSES_CONFIG=$(STAGING_DIR)/usr/bin/ncurses5-config
+
 $(eval $(autotools-package))
-- 
1.8.4.5



More information about the buildroot mailing list