diff mbox series

[v2,1/1] package/gensio: add avahi optional dependency

Message ID 20220113232903.318853-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [v2,1/1] package/gensio: add avahi optional dependency | expand

Commit Message

Fabrice Fontaine Jan. 13, 2022, 11:29 p.m. UTC
avahi-client is an optional dependency which is enabled by default since
version 2.2.0 and
https://github.com/cminyard/gensio/commit/5ab117c9743fd4719f610cf9f1ba45023cc25d7c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2:
 - Use BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT

 package/gensio/gensio.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Arnout Vandecappelle Feb. 3, 2022, 8:38 p.m. UTC | #1
On 14/01/2022 00:29, Fabrice Fontaine wrote:
> avahi-client is an optional dependency which is enabled by default since
> version 2.2.0 and
> https://github.com/cminyard/gensio/commit/5ab117c9743fd4719f610cf9f1ba45023cc25d7c
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
> Changes v1 -> v2:
>   - Use BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT
> 
>   package/gensio/gensio.mk | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/package/gensio/gensio.mk b/package/gensio/gensio.mk
> index 389de1e263..266ac137a2 100644
> --- a/package/gensio/gensio.mk
> +++ b/package/gensio/gensio.mk
> @@ -9,6 +9,7 @@ GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
>   GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
>   GENSIO_LICENSE_FILES = COPYING.LIB COPYING
>   GENSIO_INSTALL_STAGING = YES
> +GENSIO_DEPENDENCIES = $(if $(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),avahi)
>   GENSIO_CONF_OPTS = \
>   	--without-openipmi \
>   	--without-swig \
Peter Korsgaard Feb. 16, 2022, 8:22 a.m. UTC | #2
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 > On 14/01/2022 00:29, Fabrice Fontaine wrote:
 >> avahi-client is an optional dependency which is enabled by default since
 >> version 2.2.0 and
 >> https://github.com/cminyard/gensio/commit/5ab117c9743fd4719f610cf9f1ba45023cc25d7c
 >> 
 >> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2021.02.x and 2021.11.x, thanks.
diff mbox series

Patch

diff --git a/package/gensio/gensio.mk b/package/gensio/gensio.mk
index 389de1e263..266ac137a2 100644
--- a/package/gensio/gensio.mk
+++ b/package/gensio/gensio.mk
@@ -9,6 +9,7 @@  GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
 GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
 GENSIO_LICENSE_FILES = COPYING.LIB COPYING
 GENSIO_INSTALL_STAGING = YES
+GENSIO_DEPENDENCIES = $(if $(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),avahi)
 GENSIO_CONF_OPTS = \
 	--without-openipmi \
 	--without-swig \