summaryrefslogtreecommitdiff
path: root/package/bmon/bmon.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/bmon/bmon.mk')
-rw-r--r--package/bmon/bmon.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/bmon/bmon.mk b/package/bmon/bmon.mk
index 97d4b0231..aa097fbe0 100644
--- a/package/bmon/bmon.mk
+++ b/package/bmon/bmon.mk
@@ -7,7 +7,12 @@
BMON_VERSION = 2.1.0
BMON_SOURCE = bmon-$(BMON_VERSION).tar.gz
BMON_SITE = http://distfiles.gentoo.org/distfiles
-BMON_DEPENDENCIES = ncurses
+
+ifeq ($(BR2_PACKAGE_NCURSES),y)
+BMON_DEPENDENCIES += ncurses
+else
+BMON_CONF_OPT += --disable-curses
+endif
ifneq ($(BR2_PREFER_STATIC_LIB),y)
# link dynamically unless explicitly requested otherwise