]> code.ossystems Code Review - openembedded-core.git/commitdiff
gnupg: fix floating dependancy on gnutls
authorSaul Wold <sgw@linux.intel.com>
Tue, 27 Jun 2017 21:44:08 +0000 (14:44 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Jun 2017 21:47:33 +0000 (22:47 +0100)
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@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gnupg/gnupg_2.1.20.bb

index bbda2837640d74b8bb98d9b2a98cfd5ec221894e..e56421feaea68b164c2c3c67d450f230058354c9 100644 (file)
@@ -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"