summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrent Piepho <tpiepho@impinj.com>2018-10-03 00:25:48 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2018-10-05 20:36:32 (GMT)
commit3164df615c812d9753c21ab8c41deb3e4716c477 (patch)
tree399df857bddcbe4d8657b13c407f4274e13e57af
parentcd9eb4fd91b259c98f75ab7fa59cac9b599be10f (diff)
downloadbuildroot-3164df615c812d9753c21ab8c41deb3e4716c477.tar.gz
buildroot-3164df615c812d9753c21ab8c41deb3e4716c477.tar.bz2
gnupg: drop mandatory dependency on ncurses
This package only needs ncurses when readline support is enabled, as it's the autoconf macro file for readline (used by autoconf to create the gnupg configure script) that checks for and pulls in ncurses. Since readline already depends on ncurses, gnupg need only depend on readline (when enabled). The host package always forces readline support off, so the host-ncurses dependency can be removed entirely. Signed-off-by: Trent Piepho <tpiepho@impinj.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 51e17496cc403c49bc20d3a81f9c71a8a20edd0f) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gnupg/Config.in1
-rw-r--r--package/gnupg/gnupg.mk4
2 files changed, 2 insertions, 3 deletions
diff --git a/package/gnupg/Config.in b/package/gnupg/Config.in
index 7c31612..2db4631 100644
--- a/package/gnupg/Config.in
+++ b/package/gnupg/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_GNUPG
bool "gnupg"
depends on !BR2_PACKAGE_GNUPG2
select BR2_PACKAGE_ZLIB
- select BR2_PACKAGE_NCURSES
help
GnuPG is the GNU project's complete and free implementation
of the OpenPGP standard as defined by RFC4880. GnuPG allows
diff --git a/package/gnupg/gnupg.mk b/package/gnupg/gnupg.mk
index ac90478..bedcf6c 100644
--- a/package/gnupg/gnupg.mk
+++ b/package/gnupg/gnupg.mk
@@ -9,7 +9,7 @@ GNUPG_SOURCE = gnupg-$(GNUPG_VERSION).tar.bz2
GNUPG_SITE = https://gnupg.org/ftp/gcrypt/gnupg
GNUPG_LICENSE = GPL-3.0+
GNUPG_LICENSE_FILES = COPYING
-GNUPG_DEPENDENCIES = zlib ncurses $(if $(BR2_PACKAGE_LIBICONV),libiconv)
+GNUPG_DEPENDENCIES = zlib $(if $(BR2_PACKAGE_LIBICONV),libiconv)
GNUPG_CONF_ENV = ac_cv_sys_symbol_underscore=no
GNUPG_CONF_OPTS = \
--disable-rpath \
@@ -18,7 +18,7 @@ GNUPG_CONF_OPTS = \
--enable-sha256 \
--enable-sha512
-HOST_GNUPG_DEPENDENCIES = host-zlib host-ncurses
+HOST_GNUPG_DEPENDENCIES = host-zlib
HOST_GNUPG_CONF_OPTS = \
--disable-rpath \
--enable-minimal \