From patchwork Sun Oct 5 17:38:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 396677 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 53A33140170 for ; Mon, 6 Oct 2014 04:39:21 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 714CCA1E48; Sun, 5 Oct 2014 17:39:20 +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 6nUk4y-jK5oR; Sun, 5 Oct 2014 17:39:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id DE463A1E0A; Sun, 5 Oct 2014 17:39:18 +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 BAFD81C25C3 for ; Sun, 5 Oct 2014 17:39:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B7BA6952E7 for ; Sun, 5 Oct 2014 17:39:15 +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 mF57vajxWBGF for ; Sun, 5 Oct 2014 17:39:15 +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 E7A28952E8 for ; Sun, 5 Oct 2014 17:39:14 +0000 (UTC) Received: from fwd04.aul.t-online.de (fwd04.aul.t-online.de [172.20.26.149]) by mailout10.t-online.de (Postfix) with SMTP id 025FD40CAAD for ; Sun, 5 Oct 2014 19:39:12 +0200 (CEST) Received: from fli4l.lan.fli4l (S3+nKuZEohRIKX1vDXMSEhEII0-SelDPsT2Azgh8dbXc2mM2i43uooofKc-dJjaZ4e@[79.247.128.146]) by fwd04.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1Xapm4-3jY0J60; Sun, 5 Oct 2014 19:39:12 +0200 Received: from fli4lbuild64.lan.fli4l ([192.168.1.51]:45630) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1Xapm4-0005qG-21; Sun, 05 Oct 2014 19:39:12 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 5 Oct 2014 19:38:55 +0200 Message-Id: <1412530744-20649-8-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1412530744-20649-1-git-send-email-bernd.kuhls@t-online.de> References: <1412530744-20649-1-git-send-email-bernd.kuhls@t-online.de> X-ID: S3+nKuZEohRIKX1vDXMSEhEII0-SelDPsT2Azgh8dbXc2mM2i43uooofKc-dJjaZ4e X-TOI-MSGID: 70abbe94-1141-41a1-a551-b9d63fc4f5eb Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v2 07/16] package/apr-util: add optional dependency to mysql 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/apr-util/apr-util.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index e22efb2..42506bb 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -32,6 +32,13 @@ else APR_UTIL_CONF_OPTS += --without-gdbm endif +ifeq ($(BR2_PACKAGE_MYSQL),y) +APR_UTIL_CONF_OPTS += --with-mysql="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += mysql +else +APR_UTIL_CONF_OPTS += --without-mysql +endif + ifeq ($(BR2_PACKAGE_SQLITE),y) APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr" APR_UTIL_DEPENDENCIES += sqlite