libgpgme: Take into account that gnupg and gnupg2 are mutual exclusive
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Thu, 28 Aug 2014 12:16:21 +0000 (13:16 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 30 Aug 2014 21:57:08 +0000 (23:57 +0200)
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@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libgpgme/Config.in

index a303bfae8fb16461a3e6d27953901fe87fcdcb87..e176dacd136c1e8ae2ff478834a93c9ccf0a466d 100644 (file)
@@ -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