bmon: Fix libncursesw dependency
authorBaptiste Jonglez <redacted>
Mon, 10 Nov 2014 16:09:10 +0000 (17:09 +0100)
committerBaptiste Jonglez <redacted>
Mon, 10 Nov 2014 16:09:10 +0000 (17:09 +0100)
When libncursesw is available, bmon uses it instead of libncurses.  This
commit adapts the dependencies accordingly.

Signed-off-by: Baptiste Jonglez <redacted>
net/bmon/Makefile

index 500674f09b76d02d0367572e7c8b2e0db72bf68f..292779f05a91f6fe46b020d51827900896b390a6 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT