From patchwork Thu Jan 1 11:39:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 424884 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 0690614017C for ; Thu, 1 Jan 2015 22:40:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 321AC840D9; Thu, 1 Jan 2015 11:40:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4nRZwAyn4_Bz; Thu, 1 Jan 2015 11:40:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8B4FB840D0; Thu, 1 Jan 2015 11:40:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B51B51C1600 for ; Thu, 1 Jan 2015 11:40:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B08DF8AE00 for ; Thu, 1 Jan 2015 11:40:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fMp+e-Q6kU+W for ; Thu, 1 Jan 2015 11:40:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (down.free-electrons.com [37.187.137.238]) by hemlock.osuosl.org (Postfix) with ESMTP id D9BBF88E75 for ; Thu, 1 Jan 2015 11:39:59 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 319067FD; Thu, 1 Jan 2015 12:40:26 +0100 (CET) Received: from localhost (mat33-2-88-189-187-82.fbx.proxad.net [88.189.187.82]) by mail.free-electrons.com (Postfix) with ESMTPSA id CC8CA5DC; Thu, 1 Jan 2015 12:40:25 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Thu, 1 Jan 2015 12:39:56 +0100 Message-Id: <1420112396-7686-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.1.0 Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH] libevent: add optional dependency on OpenSSL X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 Reviewed-by: "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))