From 57947e46df838dfd6b3bd41363f50a304a293ab1 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Mon, 10 Nov 2014 17:09:10 +0100 Subject: [PATCH 1/2] bmon: Fix libncursesw dependency When libncursesw is available, bmon uses it instead of libncurses. This commit adapts the dependencies accordingly. Signed-off-by: Baptiste Jonglez --- net/bmon/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bmon/Makefile b/net/bmon/Makefile index 500674f09..292779f05 100644 --- a/net/bmon/Makefile +++ b/net/bmon/Makefile @@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk define Package/bmon SECTION:=net CATEGORY:=Network - DEPENDS:=+libncurses +libnl +confuse + DEPENDS:=+PACKAGE_libncursesw:libncursesw +!PACKAGE_libncursesw:libncurses +libnl +confuse TITLE:=bmon is a portable bandwidth monitor URL:=https://github.com/tgraf/bmon/ endef From 3ceb389c6d125398590fc29e25a9c393c9e6b80f Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Mon, 10 Nov 2014 17:11:12 +0100 Subject: [PATCH 2/2] bmon: Remove unrecognized configure flags Signed-off-by: Baptiste Jonglez --- net/bmon/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/bmon/Makefile b/net/bmon/Makefile index 292779f05..44da26c09 100644 --- a/net/bmon/Makefile +++ b/net/bmon/Makefile @@ -36,9 +36,6 @@ endef CONFIGURE_ARGS += \ --disable-cnt-workaround \ - --disable-dbi \ - --disable-rrd \ - --disable-asound \ CONFIGURE_VARS += \ ac_cv_lib_nl_nl_connect=no \