From patchwork Sat Sep 9 21:39:54 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: 812032 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.137; helo=fraxinus.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="AI/CrGLS"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xqSLy6YJdz9ryT for ; Sun, 10 Sep 2017 07:41:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1AA938824E; Sat, 9 Sep 2017 21:41:40 +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 YRjYLjHYl8KU; Sat, 9 Sep 2017 21:41:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 01788880BE; Sat, 9 Sep 2017 21:41:39 +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 4F0131C26BD for ; Sat, 9 Sep 2017 21:41:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4062189098 for ; Sat, 9 Sep 2017 21:41:15 +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 w+a4HojbxKh5 for ; Sat, 9 Sep 2017 21:41:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 089D888E89 for ; Sat, 9 Sep 2017 21:41:10 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id x17so4019449wmd.5 for ; Sat, 09 Sep 2017 14:41:09 -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=wYfULObdPaPuOmq2wCrPUYb/z1aget3itPKPzVHRxGY=; b=AI/CrGLSXKYPL9ju5Kj3SX7uVUm/+Vvlohp74fzSPcalYlRZUu6kzU1U/iWIVOIH4q IQ9mhKr2UHLumF1wwsMmzIUsXNKCqaIoIXRbBo3gfK/7NJi98ima2UZcZdJRJVaI46Ey /clbT5Qshj8YoqDymQRGhr4acRqvTHTj+ZicrFaoJ/SQtJaU/uWcrXTVTSftpN3Mtk51 B12Lg+cgJL0TdyZn8RNzi+Ptt6Xw/XiryikW8poaPF6RHKwC2QvcKo/LUxzfQ1+dornp yBtBFO1pV44LILUXTmZ0nKRA3XyHsQTSWKfaF5g1FzPyn2qugbM+0QXu+mTRcwv0kfcn Fo1Q== 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=wYfULObdPaPuOmq2wCrPUYb/z1aget3itPKPzVHRxGY=; b=HM0ikzSPsnGh1kfMoJzN5sxeZ09elzoaYMcyezjcxFXFW2Sy/j+QQrD/GU8zWXLzm0 ZtWJEQ74tX6NoeoKNCn4M5u6yFpZbOc4m2iN56j/KgMykpLhqV6RZUGKPwswMtji8+Y3 DREkQMpmHN9ZZEfPaF18OsJL87PGISFPQwJI6G8DX8mchdiK0yG4fs8YDKm/1LoSOwqh +9L47CxGXRVpt97NuuS9QONUUZokbClBmaUsrTrnaWWUDnAypMMA5uWvTETJC14h/ps2 1eLbbsBioX8OWQTZthFfgfIdNvN/uuOegIE0YLUSkRr+KDbupKpY3zPnbQ8fk8tYuevq mB+w== X-Gm-Message-State: AHPjjUhBw3vC1M+LQ7p6erOJkRLcjUCQFIOpmSRXOsAxJRF+O11viBXw V5KTH6v68hLwQg5/ X-Google-Smtp-Source: AOwi7QAKKAaMYbHltITTN5ZXVILtlyxAGLI3SHIVUAexKZPlHsuI6UmHTfPFuCl06zH4RHii8/KVBA== X-Received: by 10.28.27.195 with SMTP id b186mr4466130wmb.96.1504993268289; Sat, 09 Sep 2017 14:41:08 -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.41.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Sep 2017 14:41:06 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 9 Sep 2017 23:39:54 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 48/49 v2] package/asterisk: add optional unixodbc 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 54007f46b3..3bf37da709 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -79,7 +79,6 @@ ASTERISK_CONF_OPTS = \ --without-timerfd \ --without-tinfo \ --without-unbound \ - --without-unixodbc \ --without-vpb \ --without-x11 \ --with-crypt \ @@ -292,6 +291,13 @@ else ASTERISK_CONF_OPTS += --without-vorbis endif +ifeq ($(BR2_PACKAGE_UNIXODBC),y) +ASTERISK_DEPENDENCIES += unixodbc +ASTERISK_CONF_OPTS += --with-unixodbc +else +ASTERISK_CONF_OPTS += --without-unixodbc +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z