Skip to contentSkip to conversation

libevent: add optional dependency on OpenSSL

PATCH New Thomas Petazzoni 2 participants 3 messages Jan 1, 2015 – Jan 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libevent: add optional dependency on OpenSSL

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.

---
 package/libevent/libevent.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/libevent/libevent.mk +7 -0
index 607b7b2..30fcb5a 100644
@@ -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))
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/1 libevent: add optional dependency on OpenSSL

Thomas, All,

On 2015-01-01 12:39 +0100, Thomas Petazzoni spake thusly:

Quoted 6 lines

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.

Regards,
Yann E. MORIN.

Quoted 28 lines
---
 package/libevent/libevent.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/libevent/libevent.mk +7 -0
index 607b7b2..30fcb5a 100644
@@ -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))
Signature · 6 lines
2.1.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
author Applied
#2 lore raw

PATCH 1/1 libevent: add optional dependency on OpenSSL

In reply to Thomas Petazzoni

Hello,

Quoted 9 lines · Thomas Petazzoni

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.

---
 package/libevent/libevent.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com