diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2017-01-30 17:47:45 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-05 09:22:17 +0000 |
commit | 621d78241570a655a32156c4dd25d94bc8a8b7d8 (patch) | |
tree | ab51f85878afe441afa9f85f95288c2f4f1f5ae3 /meta/recipes-support/libgcrypt | |
parent | 71ce8d09e0f5912544936b0364990250c1381fed (diff) | |
download | poky-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.inc | 7 |
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+" | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
13 | file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" | 13 | file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" |
14 | 14 | ||
15 | DEPENDS = "libgpg-error libcap" | 15 | DEPENDS = "libgpg-error" |
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | 17 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
18 | SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.gz \ | 18 | SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.gz \ |
@@ -26,7 +26,10 @@ BINCONFIG = "${bindir}/libgcrypt-config" | |||
26 | 26 | ||
27 | inherit autotools texinfo binconfig-disabled pkgconfig | 27 | inherit autotools texinfo binconfig-disabled pkgconfig |
28 | 28 | ||
29 | EXTRA_OECONF = "--disable-asm --with-capabilities" | 29 | EXTRA_OECONF = "--disable-asm" |
30 | |||
31 | PACKAGECONFIG ??= "capabilities" | ||
32 | PACKAGECONFIG[capabilities] = "--with-capabilities,--without-capabilities,libcap" | ||
30 | 33 | ||
31 | do_configure_prepend () { | 34 | do_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 |