gnupg: Added PACKAGECONFIG[curl]
authorShrikant Bobade <Shrikant_Bobade@mentor.com>
Mon, 11 Aug 2014 09:37:59 +0000 (15:07 +0530)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Aug 2014 10:27:33 +0000 (11:27 +0100)
gnupg can be built with or without curl. This should be explicitly defined
to avoid race between curl and gnupg.

(From OE-Core rev: 4e5f6f95e8e791c9cfc9e3bd91f1018d83ab252f)

Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gnupg/gnupg_1.4.7.bb

index 031eaf3..ddcc2c2 100644 (file)
@@ -95,3 +95,6 @@ FILES_gpgv = "${bindir}/gpgv"
 # Exclude debug files from the main packages
 FILES_${PN} = "${bindir}/* ${datadir}/${BPN} ${libexecdir}/${BPN}/*"
 FILES_${PN}-dbg += "${libexecdir}/${BPN}/.debug"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[curl] = "--with-libcurl=${STAGING_LIBDIR},--without-libcurl,curl"