From patchwork Sat Sep 9 21:39:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 811986 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NMxdXTAK"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xqSKB2jQ3z9t2c for ; Sun, 10 Sep 2017 07:40:14 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C7CC42D9BE; Sat, 9 Sep 2017 21:40:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cUiplhsm4ac5; Sat, 9 Sep 2017 21:40:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 433A02D9F7; Sat, 9 Sep 2017 21:40:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id CEF311C26BD for ; Sat, 9 Sep 2017 21:40:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C9E30824D4 for ; Sat, 9 Sep 2017 21:40:06 +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 JthLmewL5GUg for ; Sat, 9 Sep 2017 21:40:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8ECCE8260B for ; Sat, 9 Sep 2017 21:40:05 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id e64so4044012wmi.2 for ; Sat, 09 Sep 2017 14:40:05 -0700 (PDT) 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=nqpUrbaZYVjLn/a+g1EfhNW0Stc4348OUuZb0RITKMI=; b=NMxdXTAK+d7FQ47aoIETwXYQuCGcXBrCk30kErdsx1mNLPlvkM15jdF6abScAW1RLe 98EK2aDv/N853ZKawYAl6GhWEVnrTLL9ts/Wgh1gysHow4DLKzhVBvMbknIM1lGHXwyR F2I+fnYj7UgGiq1y8uWbOb5AsoAkvVjVqD7Ja+KVJDP2FUT3OWCPAVMNX/XgXI6zqoP6 yNAmwNB/LIoQ282NHc9ar4nLznudVWxEzCg2vVWDutsdMucDrw1fNh7GszhM3Wq343f2 HqxHR+GDlJ+Bbi70qH2AFzTSwqzIbd+hK57akFSXvJcENYK7+8f4DD9+5K3W+Hwza/wu w6xw== 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=nqpUrbaZYVjLn/a+g1EfhNW0Stc4348OUuZb0RITKMI=; b=rmarcPECWLKrNIviwD1L9FZ/2yL11Jyg6CsA7Lwp7l9XLA1DZhkhRU1BA8E/4pd88G M5D4JAFu+3jSvlEj4JNVntRtDuZNXfGuYKAdSc9pde79HoHMub4toXlTC/wbsj+vP64a oHXrQVdoIIDNAe7MxZoiZBt+gJ8EcT6XoCGKepbfSpF+hbKZjUrgK0H+ga2QGGZY/ijW iLAW9wiqkX/3pa0BO3Cr7e4bc8b3ix01VB0aMyGK8U5uR9zYwEwXkH4twWgZkZGc0ZHC B1gb2rcyY8dtVGW8fat/Jpp13NYYY/2P7YdEjZAqKpbdFtw/HA4u6EdUJuHBZQ6VFSVX 3ACQ== X-Gm-Message-State: AHPjjUiEshUnxjKwb4QJp8WpJm12hDP5/+Rtg2BHIW1wmCyxku7tp6SY gIJm0tFuiM7za7UJ X-Google-Smtp-Source: AOwi7QCi4/0FjrwpHk14KDOc4osoxsSyQvLlX7eC6jBwKGRXxNXB2sHQuxVWzwMfJqHQUO2DmCbvBg== X-Received: by 10.28.27.195 with SMTP id b186mr4465172wmb.96.1504993203672; Sat, 09 Sep 2017 14:40:03 -0700 (PDT) Received: from localhost.localdomain (2a01cb08861073003564ebf312921004.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:3564:ebf3:1292:1004]) by smtp.gmail.com with ESMTPSA id k52sm5435702wrf.62.2017.09.09.14.40.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Sep 2017 14:40:02 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 9 Sep 2017 23:39:10 +0200 Message-Id: <46609e78b9cd45ead4f708027a507c11be6f2f35.1504993178.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 04/49 v2] package/asterisk: add optional zlib 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 3509783e66..3051a651c2 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -108,7 +108,6 @@ ASTERISK_CONF_OPTS = \ --without-vorbis \ --without-vpb \ --without-x11 \ - --without-z \ --with-crypt \ --with-jansson \ --with-libcurl \ @@ -139,6 +138,13 @@ else ASTERISK_CONF_OPTS += --without-gsm endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +ASTERISK_DEPENDENCIES += zlib +ASTERISK_CONF_OPTS += --with-z +else +ASTERISK_CONF_OPTS += --without-z +endif + ASTERISK_DIRS = \ ASTVARLIBDIR="/usr/lib/asterisk" \ ASTDATADIR="/usr/lib/asterisk" \