diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-03-12 12:33:27 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-19 21:46:46 +0100 |
commit | cde1d5d8b8c31cd153cbb5ceeec5c994fc1f4f2a (patch) | |
tree | d8ab3cc15ad95e9ef2b90731550fecd4908fefdd | |
parent | 284e71a0ad0b76256e67b352470c438cfd134fef (diff) | |
download | buildroot-cde1d5d8b8c31cd153cbb5ceeec5c994fc1f4f2a.tar.gz buildroot-cde1d5d8b8c31cd153cbb5ceeec5c994fc1f4f2a.zip |
package/gnupg2: add optional support for sqlite
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 <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/gnupg2/gnupg2.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk index 55190cc80e..d7f277cdfe 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)) |