diff mbox

SV: [PATCH 4/4] curl: added support for openssl

Message ID BD22328D0EB182418C2A0952DC2454F8791B8080@VMPREVAS1.prevas.se
State Not Applicable
Headers show

Commit Message

kim.hansen@prevas.dk Dec. 18, 2014, 2:31 p.m. UTC
Could you re-submit this change split into one for the LIBRARY_VERSION (packageqa?) and one for the new flag.

Re-submit as pull-request for meta/base on github

If you don't have time I can split it up, but will lose you as author

/Kim
diff mbox

Patch

diff --git a/recipes/curl/curl.inc b/recipes/curl/curl.inc
index 3e34a63..1b3102e 100644
--- a/recipes/curl/curl.inc
+++ b/recipes/curl/curl.inc
@@ -21,3 +21,10 @@  DEPENDS_${PN} = "libc libgcc"
 RDEPENDS_${PN} = "libc libgcc"
 DEPENDS_${PN}-curl = "libc libcurl"
 RDEPENDS_${PN}-curl = "libc libcurl"
+
+RECIPE_FLAGS += "curl_ssl"
+DEPENDS:>USE_curl_ssl = " libssl libcrypto"
+DEPENDS_${PN}:>USE_curl_ssl = " libssl libcrypto"
+RDEPENDS_${PN}:>USE_curl_ssl = " libssl libcrypto"
+
+EXTRA_OECONF:>USE_curl_ssl += " --with-ssl"
diff --git a/recipes/curl/curl_7.32.0.oe b/recipes/curl/curl_7.32.0.oe
index 6b82e21..8e49e2d 100644
--- a/recipes/curl/curl_7.32.0.oe
+++ b/recipes/curl/curl_7.32.0.oe
@@ -1,2 +1,4 @@ 
 require ${PN}.inc
 LICENSE = "MIT-X-style"
+
+LIBRARY_VERSION = "4"