package/htop: fix sensors option

Commit 811846df48 wrongly used
--{with,without}-sensors instead of --{dis,en}able-sensors

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit a8289875b6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine
2022-04-03 13:04:53 +02:00
committed by Peter Korsgaard
parent 8153c3620a
commit e67eaafd6f

View File

@@ -28,10 +28,10 @@ HTOP_CONF_OPTS += --disable-capabilities
endif
ifeq ($(BR2_PACKAGE_LM_SENSORS),y)
HTOP_CONF_OPTS += --with-sensors
HTOP_CONF_OPTS += --enable-sensors
HTOP_DEPENDENCIES += lm-sensors
else
HTOP_CONF_OPTS += --without-sensors
HTOP_CONF_OPTS += --disable-sensors
endif
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)