From 5f9d235e667b5ae61e90b1c03efdf2055e62c262 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Tue, 23 Sep 2014 23:57:37 +0200 Subject: [PATCH] package/gnupg2: add readline optional dependency This is to improve build reproducibility. [Thomas: add --with-readline and --without-readline options to explicitly enable/disable readline usage.] Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- package/gnupg2/gnupg2.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk index b0e72976bb..4b0a26e254 100644 --- a/package/gnupg2/gnupg2.mk +++ b/package/gnupg2/gnupg2.mk @@ -33,4 +33,11 @@ else GNUPG2_CONF_OPT += --disable-bzip2 endif +ifeq ($(BR2_PACKAGE_READLINE),y) +GNUPG2_CONF_OPT += --with-readline=$(STAGING_DIR) +GNUPG2_DEPENDENCIES += readline +else +GNUPG2_CONF_OPT += --without-readline +endif + $(eval $(autotools-package)) -- 2.30.2