[Buildroot] [PATCH] libgpgme: Take into account that gnupg and gnupg2 are mutual exclusive

Vicente Olivert Riera Vincent.Riera at imgtec.com
Thu Aug 28 12:16:21 UTC 2014


Avoid that libgpgme can select the gnupg package although gnupg2 has
been already selected. Both packages are mutual exclusive and shouldn't
be selected at the same time.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
---
 package/libgpgme/Config.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/libgpgme/Config.in b/package/libgpgme/Config.in
index a303bfa..e176dac 100644
--- a/package/libgpgme/Config.in
+++ b/package/libgpgme/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBGPGME
 	bool "libgpgme"
 	depends on BR2_USE_MMU # libassuan
 	#gnupg is not needed to build, but at runtime.
-	select BR2_PACKAGE_GNUPG
+	select BR2_PACKAGE_GNUPG if !BR2_PACKAGE_GNUPG2
 	select BR2_PACKAGE_LIBGPG_ERROR
 	select BR2_PACKAGE_LIBASSUAN
 	help
-- 
1.7.1



More information about the buildroot mailing list