From patchwork Sun Mar 12 11:33:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 737810 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 3vgzR126YVz9s7L for ; Sun, 12 Mar 2017 22:33:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1AB9389B3C; Sun, 12 Mar 2017 11:33:43 +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 lgDILwzkZvSk; Sun, 12 Mar 2017 11:33:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5784B89AEF; Sun, 12 Mar 2017 11:33:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D95621BFECD for ; Sun, 12 Mar 2017 11:33:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A387D887BD for ; Sun, 12 Mar 2017 11:33:38 +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 jjg8zN0nOeHK for ; Sun, 12 Mar 2017 11:33:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 52938887B8 for ; Sun, 12 Mar 2017 11:33:37 +0000 (UTC) Received: from fwd00.aul.t-online.de (fwd00.aul.t-online.de [172.20.26.147]) by mailout09.t-online.de (Postfix) with SMTP id 73622425D639; Sun, 12 Mar 2017 12:33:34 +0100 (CET) Received: from fli4l.lan.fli4l (EY2XV+Zewhd6REdOHD8wl6iSrx0VeatJNf-Pd32KoUERNLPEIOxYInUzIfy7t03gLA@[79.228.21.189]) by fwd00.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cn1kh-1lOiLg0; Sun, 12 Mar 2017 12:33:31 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:45326 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1cn1kg-0004zv-EK; Sun, 12 Mar 2017 12:33:30 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 12 Mar 2017 12:33:27 +0100 Message-Id: <20170312113328.5745-4-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170312113328.5745-1-bernd.kuhls@t-online.de> References: <20170312113328.5745-1-bernd.kuhls@t-online.de> X-ID: EY2XV+Zewhd6REdOHD8wl6iSrx0VeatJNf-Pd32KoUERNLPEIOxYInUzIfy7t03gLA X-TOI-MSGID: c968e3f9-0b18-4ac5-9944-d2280c9a1c68 Subject: [Buildroot] [PATCH 4/5] package/gnupg2: add optional support for sqlite 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" Also add host-pkgconf to detect sqlite support, otherwise checking pkg-config is at least version 0.9.0... ./configure: line 7981: /home/buildroot/br2/output/host/usr/bin/pkg-config: No such file or directory no [...] checking for SQLITE3... no Signed-off-by: Bernd Kuhls --- package/gnupg2/gnupg2.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk index 55190cc80..d7f277cdf 100644 --- a/package/gnupg2/gnupg2.mk +++ b/package/gnupg2/gnupg2.mk @@ -10,7 +10,7 @@ GNUPG2_SITE = ftp://ftp.gnupg.org/gcrypt/gnupg GNUPG2_LICENSE = GPLv3+ GNUPG2_LICENSE_FILES = COPYING GNUPG2_DEPENDENCIES = zlib libgpg-error libgcrypt libassuan libksba libnpth \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) + $(if $(BR2_PACKAGE_LIBICONV),libiconv) host-pkgconf GNUPG2_CONF_OPTS = \ --disable-rpath --disable-regex --disable-doc \ @@ -49,4 +49,11 @@ else GNUPG2_CONF_OPTS += --without-readline endif +ifeq ($(BR2_PACKAGE_SQLITE),y) +GNUPG2_CONF_OPTS += --enable-sqlite +GNUPG2_DEPENDENCIES += sqlite +else +GNUPG2_CONF_OPTS += --disable-sqlite +endif + $(eval $(autotools-package))