[oe-commits] Phil Blundell : libpcre: Make readline dependency conditional on PACKAGECONFIG[pcretest-readline]

git at git.openembedded.org git at git.openembedded.org
Mon Apr 29 13:40:32 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 5bf7397cdb91d8ab0f2a525484eee9a3cec25f87
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5bf7397cdb91d8ab0f2a525484eee9a3cec25f87

Author: Phil Blundell <pb at pbcl.net>
Date:   Thu Apr 25 16:00:57 2013 +0100

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 <philb at gnu.org>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-support/libpcre/libpcre_8.32.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-support/libpcre/libpcre_8.32.bb b/meta/recipes-support/libpcre/libpcre_8.32.bb
index 4d17741..a2a8d80 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
 





More information about the Openembedded-commits mailing list