diff mbox series

[2/3] axel: Fix OpenSSL dependency

Message ID 20171205054237.2150-2-ismael@iodev.co.uk
State Accepted
Headers show
Series [1/3] DEVELOPERS: Add myself to axel package | expand

Commit Message

Ismael Luceno Dec. 5, 2017, 5:42 a.m. UTC
I got it wrong the first time, openssl is a virtual package.

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
---
 package/axel/axel.mk | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Thomas Petazzoni Dec. 6, 2017, 9:26 p.m. UTC | #1
Hello,

On Tue,  5 Dec 2017 02:42:36 -0300, Ismael Luceno wrote:
> I got it wrong the first time, openssl is a virtual package.

Using 1st person sentences is not really the typical practice in commit
logs. So I've replaced this with:

    openssl is a virtual package, that can be provided by either libressl
    or libopenssl, so there's no need to check for libressl separately.

Applied with this change. Thanks!

Thomas
diff mbox series

Patch

diff --git a/package/axel/axel.mk b/package/axel/axel.mk
index dcc8afd0b4a0..136c2e26eb08 100644
--- a/package/axel/axel.mk
+++ b/package/axel/axel.mk
@@ -17,10 +17,7 @@  AXEL_CONF_OPTS = \
 	ac_cv_prog_cc_c99=-std=c99 \
 	CFLAGS="$(TARGET_CFLAGS)"
 
-ifeq ($(BR2_PACKAGE_LIBRESSL),y)
-AXEL_CONF_OPTS += --with-ssl
-AXEL_DEPENDENCIES += libressl
-else ifeq ($(BR2_PACKAGE_OPENSSL),y)
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
 AXEL_CONF_OPTS += --with-ssl
 AXEL_DEPENDENCIES += openssl
 else