Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libevent: add optional dependency on OpenSSL
Date: Fri, 2 Jan 2015 15:59:04 +0100	[thread overview]
Message-ID: <20150102145904.GB4392@free.fr> (raw)
In-Reply-To: <1420112396-7686-1-git-send-email-thomas.petazzoni@free-electrons.com>

Thomas, All,

On 2015-01-01 12:39 +0100, Thomas Petazzoni spake thusly:
> libevent can optionally use OpenSSL, so add an optional dependency on
> this package to explicit this possibility. This makes sure libevent
> always gets built with OpenSSL support when the OpenSSL package is
> enabled.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/libevent/libevent.mk | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk
> index 607b7b2..30fcb5a 100644
> --- a/package/libevent/libevent.mk
> +++ b/package/libevent/libevent.mk
> @@ -22,5 +22,12 @@ ifneq ($(BR2_PACKAGE_PYTHON),y)
>  LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT
>  endif
>  
> +ifeq ($(BR2_PACKAGE_OPENSSL),y)
> +LIBEVENT_DEPENDENCIES += openssl
> +LIBEVENT_CONF_OPTS += --enable-openssl
> +else
> +LIBEVENT_CONF_OPTS += --disable-openssl
> +endif
> +
>  $(eval $(autotools-package))
>  $(eval $(host-autotools-package))
> -- 
> 2.1.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-01-02 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-01 11:39 [Buildroot] [PATCH] libevent: add optional dependency on OpenSSL Thomas Petazzoni
2015-01-02 14:59 ` Yann E. MORIN [this message]
2015-01-02 15:38 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150102145904.GB4392@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox