From patchwork Fri Dec 30 10:29:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 709728 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tqjSg3ZF7z9sCX for ; Fri, 30 Dec 2016 21:31:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rQ4UrEXI"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4402B85C91; Fri, 30 Dec 2016 10:31:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TBubiTVmBzCf; Fri, 30 Dec 2016 10:31:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id BB6D385943; Fri, 30 Dec 2016 10:30:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 143621C21AD for ; Fri, 30 Dec 2016 10:30:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CE4B6855E5 for ; Fri, 30 Dec 2016 10:30:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VLg6ofZ1WiYD for ; Fri, 30 Dec 2016 10:30:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wj0-f196.google.com (mail-wj0-f196.google.com [209.85.210.196]) by whitealder.osuosl.org (Postfix) with ESMTPS id B4280856D5 for ; Fri, 30 Dec 2016 10:30:07 +0000 (UTC) Received: by mail-wj0-f196.google.com with SMTP id kp2so60257457wjc.0 for ; Fri, 30 Dec 2016 02:30:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=nVWulhQXjiR/go2MUiLDFKxdF03prM5ZquEvv/6yz70=; b=rQ4UrEXIkkZBjtzKp9t1o4Liim59NkpKY6CiLmOZ7K1ngWWar7XAK79yN2wCPfibkV RYa/ldnPp/tvAXSoBcalv+qyBjBeYsfzPUygoFYKGjO0+5p+QGQ19RjXgoGlDfKqTrfs J8Nt/JM+ZxTQCLR4rja9VmYCXw0+Ik+N7wHWTCfAI68z0H4DDsgc9wuKoGRVLqpLsZ9e dmDI6Tvb/2GNOcNZXGjdkywzBIcRzH0CI5dFNaiW1hgBTLq988xY4AiYrZGKm2EmlAIl 46z90ooi908PYRMB/g+pmo9ZMsT63EEyY0KAGwkCgiNCvha+GD5773FTzGILeXiIryJV RLQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=nVWulhQXjiR/go2MUiLDFKxdF03prM5ZquEvv/6yz70=; b=OUCq1TbEsGgv486QZsMoavVuFWbgFRo7F3bFqZIpLKQWC8t4DjaJ0WLddhHNgpqBBr NAyXcLosHd0vFNWMpHYAUQ5z1YFXEte0GYxS+dhH293WhQ7DU4Xiw54cDxvjToqfQl/R nPB6sLKEmeG++EjdJ/FJwHDaAgUNBHy/XIOLmLUMMlX2rJTQL6kCQtiONCEOgmKPkCTZ qnOjEE+lK+YokiT4xDJPWD8LerLX0rsFq4I9Zo33XoKKUNsrsKb6/6+GMp5Bdvyi+fL1 orursP5TPlzVE3pQnDl617tdQAhuOoaNXtyMfD1BkeLEBu+VAUtXkhJSW3WR0dtmXH8u X0kg== X-Gm-Message-State: AIkVDXJsWZ4k2L+VvaS27+eghuT1VRwrQXCcmlXd9JM5nf+n2H5pGK3wEqilBNfx/+CnEA== X-Received: by 10.194.47.242 with SMTP id g18mr40082822wjn.203.1483093805874; Fri, 30 Dec 2016 02:30:05 -0800 (PST) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id p144sm69904809wme.23.2016.12.30.02.30.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Dec 2016 02:30:05 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Fri, 30 Dec 2016 11:29:11 +0100 Message-Id: <58fdf17c4bc5bbb2b7d141d99eb0b46186a657e1.1483093662.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 10/52] package/asterisk: add optional curl dependency 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" Signed-off-by: "Yann E. MORIN" --- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 2eb9c7a..4cf980d 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -52,7 +52,6 @@ ASTERISK_CONF_OPTS += \ --without-uriparser \ --without-kqueue \ --without-ldap \ - --without-libcurl \ --without-libedit \ --without-libxslt \ --without-ltdl \ @@ -126,6 +125,13 @@ else ASTERISK_CONF_OPTS += --without-asound endif +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ASTERISK_DEPENDENCIES += libcurl +ASTERISK_CONF_OPTS += --with-libcurl +else +ASTERISK_CONF_OPTS += --without-libcurl +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl