[Buildroot] [PATCH v2 2/3] package/gnupg2: add bzip2 optional dependency

Romain Naour romain.naour at openwide.fr
Tue Sep 23 21:57:36 UTC 2014


This is to improve build reproducibility.

Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
v2: improve commit log

 package/gnupg2/gnupg2.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk
index af475bb..3fce998 100644
--- a/package/gnupg2/gnupg2.mk
+++ b/package/gnupg2/gnupg2.mk
@@ -30,4 +30,10 @@ endef
 GNUPG2_POST_INSTALL_TARGET_HOOKS += GNUPG2_REMOVE_GPGV2
 endif
 
+ifeq ($(BR2_PACKAGE_BZIP2),y)
+GNUPG2_DEPENDENCIES += bzip2
+else
+GNUPG2_CONF_OPT += --disable-bzip2
+endif
+
 $(eval $(autotools-package))
-- 
1.9.3



More information about the buildroot mailing list