Patchwork [13/17] libgcrypt: USE-flag defined for conf option --without-capabilities

login
register
mail settings
Submitter Kim B√łndergaard
Date Oct. 4, 2013, 1:24 p.m.
Message ID <06ca2e65047bcef89a4d6fa964ae03898b35c4f1.1380892944.git.kibo@prevas.dk>
Download mbox | patch
Permalink /patch/280605/
State Superseded
Delegated to: Esben Haabendal
Headers show

Comments

Kim B√łndergaard - Oct. 4, 2013, 1:24 p.m.
---
 recipes/libgcrypt/libgcrypt.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Patch

diff --git a/recipes/libgcrypt/libgcrypt.inc b/recipes/libgcrypt/libgcrypt.inc
index 01634f6..6befa72 100644
--- a/recipes/libgcrypt/libgcrypt.inc
+++ b/recipes/libgcrypt/libgcrypt.inc
@@ -8,7 +8,11 @@  DEPENDS_${PN} += "libgpg-error libcap2"
 
 SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz"
 
-EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
+RECIPE_FLAGS = "gcrypt_no_capabilities"
+DEFAULT_gcrypt_no_capabilites = "0"
+
+EXTRA_OECONF = "--without-pth --disable-asm"
+EXTRA_OECONF:>USE_gcrypt_no_capabilities = " --without-capabilities"
 
 # libgcrypt.pc is added locally and thus installed here
 do_install[postfuncs] += "do_install_append"