htop: explicitly disable some build options
authorEtienne Champetier <champetier.etienne@gmail.com>
Mon, 4 Oct 2021 02:11:08 +0000 (22:11 -0400)
committerEtienne Champetier <champetier.etienne@gmail.com>
Mon, 4 Oct 2021 02:46:07 +0000 (22:46 -0400)
Since 3.1.0 delayacct option is enabled if the needed dependencies
are detected, it was previously disabled.
Sensors also check for dependency so we need to explicitly
disable it when not enabled.

Fixes 5f916720551ad5ea5ac86cf5e122fc2c0c34cc15

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
admin/htop/Makefile

index e2db3847e0a7dba41c4d7b232e4fef335168154e..179863ad576ca8d30ef8b2e0d78eba82b0dd6609 100644 (file)
@@ -56,9 +56,10 @@ define Package/htop/config
 endef
 
 CONFIGURE_ARGS += \
-       $(if $(CONFIG_HTOP_LMSENSORS),--enable-sensors,) \
+       --$(if $(CONFIG_HTOP_LMSENSORS),en,dis)able-sensors \
        --enable-affinity \
-       --enable-capabilities=no \
+       --disable-capabilities \
+       --disable-delayacct \
        --disable-unicode \
        --disable-hwloc