diff mbox

dialog: Override ncurses config script

Message ID 1410403234-19893-1-git-send-email-maarten@treewalker.org
State Accepted
Commit 47e4c68f51c9cc1b7aab9e16f5b5a5dee36bc3d5
Headers show

Commit Message

Maarten ter Huurne Sept. 11, 2014, 2:40 a.m. UTC
Without the override, systemwide ncurses6-config can be found instead
of ncurses5-config from staging.

Signed-off-by: Maarten ter Huurne <maarten@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(+)

Comments

Peter Korsgaard Sept. 14, 2014, 10:28 p.m. UTC | #1
>>>>> "Maarten" == Maarten ter Huurne <maarten@treewalker.org> writes:

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

 > Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>

Committed, thanks.
diff mbox

Patch

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))