Patchwork [base,2/2] openssl: packageqa fixes

login
register
mail settings
Submitter Jacob Kjaergaard
Date Oct. 2, 2013, 12:27 p.m.
Message ID <1380716869-6515-1-git-send-email-jabk@prevas.dk>
Download mbox | patch
Permalink /patch/279715/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Jacob Kjaergaard - Oct. 2, 2013, 12:27 p.m.
From: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk>

---
 recipes/openssl/openssl.inc |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Esben Haabendal - Oct. 14, 2013, 2:13 p.m.
Merged to master, thanks.

/Esben

Patch

diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc
index 29aba5a..95c9782 100644
--- a/recipes/openssl/openssl.inc
+++ b/recipes/openssl/openssl.inc
@@ -10,7 +10,7 @@  inherit c make pkgconfig
 
 SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz"
 
-DEPENDS = "${DEPENDS_HOST_OS}"
+DEPENDS = "${DEPENDS_HOST_OS} libc libgcc"
 DEPENDS_HOST_OS = "libdl"
 DEPENDS_HOST_OS:HOST_OS_mingw32 = ""
 
@@ -109,6 +109,7 @@  do_install () {
 	cp --dereference -R include/openssl ${D}${includedir}
 }
 
+DEPENDS_${PN} += " ${PN}-libcrypto ${PN}-libssl"
 RDEPENDS_${PN} += " ${PN}-libcrypto ${PN}-libssl ${PN}-engines ${PN}-misc"
 
 PACKAGES =+ "${PN}-misc ${PN}-engines"
@@ -130,6 +131,6 @@  FILES_${PN}-libssl += " ${LIBSSL_FILES}"
 LIBSSL_FILES = ""
 LIBSSL_FILES:HOST_OS_mingw32 = "${sharedlibdir}/ssleay32.dll"
 DEPENDS_${PN}-libcrypto += " ${DEPENDS}"
-DEPENDS_${PN}-libssl += " ${DEPENDS}"
+DEPENDS_${PN}-libssl += " ${DEPENDS} libcrypto"
 RDEPENDS_${PN}-libcrypto += "libc libgcc ${DEPENDS_HOST_OS}"
-RDEPENDS_${PN}-libssl += "libc ${DEPENDS_HOST_OS} libcrypto"
+RDEPENDS_${PN}-libssl += "${DEPENDS_HOST_OS} libcrypto"