[Buildroot] [PATCH 1/1] package/mtr: add libcap optional dependency

Arnout Vandecappelle arnout at mind.be
Sun Sep 26 19:49:12 UTC 2021



On 25/09/2021 23:38, Fabrice Fontaine wrote:
> libcap is an optional dependency which is enabled by default since
> version 0.88 and
> https://github.com/traviscross/mtr/commit/2ff8de310222d26d10b13a104a1a82f2b86a84c6
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/mtr/mtr.mk | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/package/mtr/mtr.mk b/package/mtr/mtr.mk
> index 263482534e..7198cbcc1c 100644
> --- a/package/mtr/mtr.mk
> +++ b/package/mtr/mtr.mk
> @@ -8,7 +8,10 @@ MTR_VERSION = 0.93
>   MTR_SITE = $(call github,traviscross,mtr,v$(MTR_VERSION))
>   MTR_AUTORECONF = YES
>   MTR_CONF_OPTS = --without-gtk
> -MTR_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_NCURSES),ncurses)
> +MTR_DEPENDENCIES = \
> +	host-pkgconf \
> +	$(if $(BR2_PACKAGE_LIBCAP),libcap) \
> +	$(if $(BR2_PACKAGE_NCURSES),ncurses)
>   MTR_LICENSE = GPL-2.0
>   MTR_LICENSE_FILES = COPYING
>   MTR_SELINUX_MODULES = netutils
> 


More information about the buildroot mailing list