[OE-core] [PATCH] gnupg: fix floating dependancy on gnutls

Saul Wold sgw at linux.intel.com
Tue Jun 27 21:44:08 UTC 2017


gunpg added TLS support to the dirmngr for 2.1.0, mostly we linked with
gnutls and had the RDEPENDS for gnutls. Since we had TLS support continue
enabling it by default.

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 meta/recipes-support/gnupg/gnupg_2.1.20.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/gnupg/gnupg_2.1.20.bb b/meta/recipes-support/gnupg/gnupg_2.1.20.bb
index bbda283..e56421f 100644
--- a/meta/recipes-support/gnupg/gnupg_2.1.20.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.1.20.bb
@@ -40,7 +40,6 @@ do_install_append() {
 	ln -sf gpgv2 ${D}${bindir}/gpgv
 }
 
-RDEPENDS_${PN} = "gnutls"
-
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "gnutls"
+PACKAGECONFIG[gnutls] = "--enable-gnutls, --disable-gnutls, gnutls"
 PACKAGECONFIG[sqlite3] = "--enable-sqlite, --disable-sqlite, sqlite3"
-- 
2.7.5




More information about the Openembedded-core mailing list