aboutsummaryrefslogtreecommitdiff
path: root/package/htop
diff options
context:
space:
mode:
authorGravatar Rodrigo Rebello <rprebello@gmail.com>2017-03-26 03:36:54 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-26 12:32:04 +0200
commit8cd1554ee162f6344dab078233f4f6c0d93e7c24 (patch)
tree833576ce8fc143a3c5c37278fc7861b0660e7928 /package/htop
parentb3e4ed92380080334d3d09bb4a53dc6102edd8aa (diff)
downloadbuildroot-8cd1554ee162f6344dab078233f4f6c0d93e7c24.tar.gz
buildroot-8cd1554ee162f6344dab078233f4f6c0d93e7c24.tar.bz2
htop: use correct ncurses config script name
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@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/htop')
-rw-r--r--package/htop/htop.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/htop/htop.mk b/package/htop/htop.mk
index 9451d159fa..dd3bed41b8 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