From a0f8491b49014d3cfe8efbb0992b818fd0786d9d Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Thu, 6 May 2021 01:05:45 +0200 Subject: [PATCH] poke: add optional json-c dependency From [1]: "The poke machine-interface uses a protocol to communicate with clients, which is based on JSON. poke uses the json-c library to parse and build JSON strings. If this library is not found, poke will build without machine-interface support." [1] https://git.savannah.nongnu.org/cgit/poke.git/tree/DEPENDENCIES?h=releases/poke-1.2#n55 Signed-off-by: Romain Naour Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/poke/poke_1.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/poke/poke_1.2.bb b/meta-oe/recipes-devtools/poke/poke_1.2.bb index dcb547ff87..dd118a0aa2 100644 --- a/meta-oe/recipes-devtools/poke/poke_1.2.bb +++ b/meta-oe/recipes-devtools/poke/poke_1.2.bb @@ -24,8 +24,9 @@ acpaths = "-I ./m4" EXTRA_OECONF = "--disable-gui \ --disable-libnbd \ - --disable-mi \ --with-libreadline-prefix=${STAGING_INCDIR} \ " +PACKAGECONFIG[mi] = "--enable-mi,--disable-mi,json-c" + FILES_${PN} += "${datadir}/emacs/site-lisp"