diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-06-17 09:15:42 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-06-17 10:58:55 +0200 |
commit | 6533b1e362e3514c29e32f1c5bb46df693423fc2 (patch) | |
tree | 134cc2c941a034e9d9e0d60c390d5e00ccf078a1 /package/bmon/bmon.mk | |
parent | 587863b039d3e9f1daabcada723450d633333473 (diff) |
bmon: make ncurses dependency optional
bmon can be built without ncurses support (needs a small patch though),
so don't enforce it in kconfig.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/bmon/bmon.mk')
-rw-r--r-- | package/bmon/bmon.mk | 7 |
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 |