dialog: Override ncurses config script
PATCH 1/1 dialog: Override ncurses config script
Without the override, systemwide ncurses6-config can be found instead of ncurses5-config from staging.
Signed-off-by Maarten ter Huurne <[email protected]>
--- package/dialog/dialog.mk | 2 ++ 1 file changed, 2 insertions(+)
package/dialog/dialog.mk +2 -0
@@ -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))
Signature · 1 line
1.8.4.5
PATCH 1/1 dialog: Override ncurses config script
Without the override, systemwide ncurses6-config can be found instead of ncurses5-config from staging.
Signed-off-by Maarten ter Huurne <[email protected]>
---
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(+)
package/dialog/dialog.mk +2 -0
@@ -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))
Signature · 1 line
1.8.4.5
PATCH 1/1 dialog: Override ncurses config script
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Maarten" == Maarten ter Huurne <[email protected]> writes:
Without the override, systemwide ncurses6-config can be found instead of ncurses5-config from staging.
Signed-off-by Maarten ter Huurne <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard