Patchwork [098/131] gnutls: Fix DEPENDS/RDEPENDS for all packages

login
register
mail settings
Submitter christian.braunersorensen@prevas.dk
Date Jan. 14, 2014, 12:34 p.m.
Message ID <d8c796c86cc088ea1f9eedb401c10e065fdfa18e.1389702652.git.christian.braunersorensen@prevas.dk>
Download mbox | patch
Permalink /patch/310670/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

christian.braunersorensen@prevas.dk - Jan. 14, 2014, 12:34 p.m.
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/gnutls/gnutls.inc | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

Patch

diff --git a/recipes/gnutls/gnutls.inc b/recipes/gnutls/gnutls.inc
index 1326fc9..7c94432 100644
--- a/recipes/gnutls/gnutls.inc
+++ b/recipes/gnutls/gnutls.inc
@@ -5,8 +5,8 @@  BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls"
 inherit c++ autotools binconfig pkgconfig gettext
 
 DEPENDS += "libz liblzo libtasn1 libgcrypt libreadline"
-DEPENDS_${PN} += "libz liblzo libtasn1 libgcrypt libreadline"
-RDEPENDS_${PN} += "gnutls-extra liblzo libtasn1"
+DEPENDS_${PN} += "libc libgmp libgnutls libhogweed libnettle libtasn1 libz"
+RDEPENDS_${PN} += "libc libgmp libgnutls libhogweed libnettle libtasn1 libz"
 
 EXTRA_OECONF="--with-included-opencdk --with-included-libcfg --disable-rpath \
               --with-libtasn1-prefix=${HOST_SYSROOT} \
@@ -34,11 +34,18 @@  do_stage_fix_libstdc() {
 }
 
 inherit auto-package-libs
-AUTO_PACKAGE_LIBS = "gnutls gnutlsxx gnutls-openssl gnutls-extra"
-AUTO_PACKAGE_LIBS_DEV_DEPENDS = "${PN}-dev"
-RDEPENDS_${PN}-libgnutls-extra += "libtasn1 liblzo"
-RDEPENDS_${PN}-libgnutls += "libtasn1"
+AUTO_PACKAGE_LIBS = "gnutls gnutlsxx gnutls-openssl"
+DEPENDS_${PN}-libgnutls += "libgmp libhogweed libnettle libtasn1 libz"
+RDEPENDS_${PN}-libgnutls += "libc libgmp libhogweed libnettle libtasn1 libz"
+DEPENDS_${PN}-libgnutlsxx += "libgcc-s libgnutls libm libstdc++"
+RDEPENDS_${PN}-libgnutlsxx += "libc libgcc-s libgnutls libm libstdc++"
+DEPENDS_${PN}-libgnutls-openssl += "libgnutls"
+RDEPENDS_${PN}-libgnutls-openssl += "libc libgnutls"
 
 inherit auto-package-utils
 AUTO_PACKAGE_UTILS = "srptool certtool gnutls-serv psktool gnutls-cli \
 	gnutls-cli-debug"
+AUTO_PACKAGE_UTILS_DEPENDS += "libc libgnutls"
+AUTO_PACKAGE_UTILS_RDEPENDS += "libc libgnutls"
+DEPENDS_${PN}-certtool += "libgmp libhogweed libnettle"
+RDEPENDS_${PN}-certtool += "libgmp libhogweed libnettle libtasn1 libz"