summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2017-01-30 17:47:45 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-05 09:22:17 +0000
commit621d78241570a655a32156c4dd25d94bc8a8b7d8 (patch)
treeab51f85878afe441afa9f85f95288c2f4f1f5ae3 /meta/recipes-support/libgcrypt
parent71ce8d09e0f5912544936b0364990250c1381fed (diff)
downloadpoky-621d78241570a655a32156c4dd25d94bc8a8b7d8.tar.gz
libgcrypt.inc: Add PACKAGECONFIG for 'capabilities'
Add PACKAGECONFIG options for 'capabilities' which enables the libcap dependency. (From OE-Core rev: a7dfe49a1236b0eb1cebcfe490bb0da68e3252a0) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libgcrypt')
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index c8a48623b4..84c1cc018b 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -12,7 +12,7 @@ LICENSE_dumpsexp-dev = "GPLv3+"
12LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 12LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
13 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" 13 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
14 14
15DEPENDS = "libgpg-error libcap" 15DEPENDS = "libgpg-error"
16 16
17UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" 17UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
18SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.gz \ 18SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.gz \
@@ -26,7 +26,10 @@ BINCONFIG = "${bindir}/libgcrypt-config"
26 26
27inherit autotools texinfo binconfig-disabled pkgconfig 27inherit autotools texinfo binconfig-disabled pkgconfig
28 28
29EXTRA_OECONF = "--disable-asm --with-capabilities" 29EXTRA_OECONF = "--disable-asm"
30
31PACKAGECONFIG ??= "capabilities"
32PACKAGECONFIG[capabilities] = "--with-capabilities,--without-capabilities,libcap"
30 33
31do_configure_prepend () { 34do_configure_prepend () {
32 # Else this could be used in preference to the one in aclocal-copy 35 # Else this could be used in preference to the one in aclocal-copy