From: Phil Blundell Date: Thu, 25 Apr 2013 15:00:57 +0000 (+0100) Subject: libpcre: Make readline dependency conditional on PACKAGECONFIG[pcretest-readline] X-Git-Tag: yocto-4.0~33077 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bf7397cdb91d8ab0f2a525484eee9a3cec25f87;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libpcre: Make readline dependency conditional on PACKAGECONFIG[pcretest-readline] The only place in pcre that requires readline is pcretest, and even there it's optional. This allows the dependency to be removed unless specifically requested. Signed-off-by: Phil Blundell Signed-off-by: Saul Wold --- diff --git a/meta/recipes-support/libpcre/libpcre_8.32.bb b/meta/recipes-support/libpcre/libpcre_8.32.bb index 4d17741625e..a2a8d808e28 100644 --- a/meta/recipes-support/libpcre/libpcre_8.32.bb +++ b/meta/recipes-support/libpcre/libpcre_8.32.bb @@ -20,7 +20,9 @@ S = "${WORKDIR}/pcre-${PV}" FILESPATH .= ":${@base_set_filespath([bb.which(BBPATH, 'recipes-support/libpcre/files', direction=True)], d)}" PROVIDES += "pcre" -DEPENDS += "bzip2 zlib readline" +DEPENDS += "bzip2 zlib" + +PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline," inherit autotools binconfig