[Buildroot] [git commit branch/2017.02.x] htop: use correct ncurses config script name
Peter Korsgaard
peter at korsgaard.com
Fri Mar 31 07:03:11 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=3400806b9d555cf2f30154feeecd19221b8b52a0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
The ncurses config script can have different names depending on the
configuration (e.g. wchar support enabled/disabled). So, use
$(NCURSES_CONFIG_SCRIPTS) from the ncurses package as it contains the
proper name.
Signed-off-by: Rodrigo Rebello <rprebello at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 8cd1554ee162f6344dab078233f4f6c0d93e7c24)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/htop/htop.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/htop/htop.mk b/package/htop/htop.mk
index 9451d15..dd3bed4 100644
--- a/package/htop/htop.mk
+++ b/package/htop/htop.mk
@@ -8,7 +8,7 @@ HTOP_VERSION = 2.0.2
HTOP_SITE = http://hisham.hm/htop/releases/$(HTOP_VERSION)
HTOP_DEPENDENCIES = ncurses
# Prevent htop build system from searching the host paths
-HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/ncurses5-config
+HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)
HTOP_LICENSE = GPLv2
HTOP_LICENSE_FILES = COPYING
More information about the buildroot
mailing list