From patchwork Sat Feb 20 22:23:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 585715 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 368BB140B0F for ; Sun, 21 Feb 2016 09:24:25 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6C148A5AA4; Sat, 20 Feb 2016 22:24:24 +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 lxkD36C8IQlH; Sat, 20 Feb 2016 22:24:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D890FA5AE3; Sat, 20 Feb 2016 22:23:54 +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 38ACC1C108E for ; Sat, 20 Feb 2016 22:23:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 35D32955D6 for ; Sat, 20 Feb 2016 22:23:41 +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 vZpiOYtPsI1Y for ; Sat, 20 Feb 2016 22:23:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by hemlock.osuosl.org (Postfix) with ESMTPS id B758C955DB for ; Sat, 20 Feb 2016 22:23:40 +0000 (UTC) Received: from fwd26.aul.t-online.de (fwd26.aul.t-online.de [172.20.26.131]) by mailout10.t-online.de (Postfix) with SMTP id 1F74F11AFDC for ; Sat, 20 Feb 2016 23:23:39 +0100 (CET) Received: from fli4l.lan.fli4l (rI-skOZe8hEPcY1xq95mIwQ7OsbDkJ39RM-oTShIt9So+y+z7t30w0girtgBWrWglD@[84.191.222.26]) by fwd26.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1aXFw8-0JsC9Y0; Sat, 20 Feb 2016 23:23:36 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:36714 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.86) (envelope-from ) id 1aXFw7-00028i-PX; Sat, 20 Feb 2016 23:23:36 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 20 Feb 2016 23:23:07 +0100 Message-Id: <1456007008-5200-8-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1456007008-5200-1-git-send-email-bernd.kuhls@t-online.de> References: <1456007008-5200-1-git-send-email-bernd.kuhls@t-online.de> X-ID: rI-skOZe8hEPcY1xq95mIwQ7OsbDkJ39RM-oTShIt9So+y+z7t30w0girtgBWrWglD X-TOI-MSGID: 11186f07-63bd-4d52-9437-7353996e7b73 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v8 07/28] package/freeswitch: add optional dependency to unixodbc 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: Bernd Kuhls --- package/freeswitch/freeswitch.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk index 83b2626..9e12f33 100644 --- a/package/freeswitch/freeswitch.mk +++ b/package/freeswitch/freeswitch.mk @@ -71,7 +71,6 @@ FREESWITCH_CONF_ENV += \ ac_cv_gcc_supports_w_no_unused_result=no FREESWITCH_CONF_OPTS = \ - --disable-core-odbc-support \ --without-erlang \ --enable-fhs \ --without-python \ @@ -178,6 +177,15 @@ FREESWITCH_DEPENDENCIES += libpng FREESWITCH_ENABLED_MODULES += formats/mod_png endif +ifeq ($(BR2_PACKAGE_UNIXODBC),y) +FREESWITCH_DEPENDENCIES += unixodbc +FREESWITCH_CONF_OPTS += \ + --enable-core-odbc-support \ + --with-odbc=$(STAGING_DIR)/usr +else +FREESWITCH_CONF_OPTS += --disable-core-odbc-support +endif + ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) FREESWITCH_DEPENDENCIES += util-linux endif