coreutils: add libcap dependency to selected applets
authorJo-Philipp Wich <jo@mein.io>
Wed, 18 Jan 2017 11:08:40 +0000 (12:08 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 18 Jan 2017 11:10:44 +0000 (12:10 +0100)
If libcap happens to be present in the environment, coreutils will pick it up
and link some applets against it.

Since the idea of coreutils is to provide a full featured alternative to the
busybox applets, do not inhibit the optional dependency but explicitely
require libcap instead.

Fixes the following error spotted on the buildbots:

    Package coreutils-dir is missing dependencies for the following libraries:
    libcap.so.2

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
utils/coreutils/Makefile

index 73b1a85f7c4e67099222d4a367c0fc5c87771a1d..0d52b60ea4c1bab51a5bcaf280c54858404deff4 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=coreutils
 PKG_VERSION:=8.23
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/coreutils
@@ -37,11 +37,11 @@ DEPENDS_timeout = +librt
 DEPENDS_expr = +libgmp
 DEPENDS_factor = +libgmp
 DEPENDS_cp = +libacl
-DEPENDS_dir = +libacl
+DEPENDS_dir = +libacl +libcap
 DEPENDS_install = +libacl
-DEPENDS_ls = +libacl
+DEPENDS_ls = +libacl +libcap
 DEPENDS_mv = +libacl
-DEPENDS_vdir = +libacl
+DEPENDS_vdir = +libacl +libcap
 
 define Package/coreutils/Default
   SECTION:=utils