From b39e3e39eb15264efafec3cb7c4ac89a951b9ab9 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Tue, 23 Sep 2014 23:57:36 +0200 Subject: [PATCH] package/gnupg2: add bzip2 optional dependency This is to improve build reproducibility. [Thomas: add --enable-bzip2 --with-bzip options.] 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 33b5bc0467..b0e72976bb 100644 --- a/package/gnupg2/gnupg2.mk +++ b/package/gnupg2/gnupg2.mk @@ -26,4 +26,11 @@ endef GNUPG2_POST_INSTALL_TARGET_HOOKS += GNUPG2_REMOVE_GPGV2 endif +ifeq ($(BR2_PACKAGE_BZIP2),y) +GNUPG2_CONF_OPT += --enable-bzip2 --with-bzip2=$(STAGING_DIR) +GNUPG2_DEPENDENCIES += bzip2 +else +GNUPG2_CONF_OPT += --disable-bzip2 +endif + $(eval $(autotools-package)) -- 2.30.2