Patchwork [WIP,13/20] guile: Add PACKAGECONFIG for readline

login
register
mail settings
Submitter Martin Jansa
Date Aug. 29, 2013, 4:03 p.m.
Message ID <985355a8e4e1d0600488af18687a544c62c61b9f.1377792006.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/56933/
State New
Headers show

Comments

Martin Jansa - Aug. 29, 2013, 4:03 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-devtools/guile/guile_2.0.9.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-devtools/guile/guile_2.0.9.bb b/meta/recipes-devtools/guile/guile_2.0.9.bb
index 0dd61ff..0cbc216 100644
--- a/meta/recipes-devtools/guile/guile_2.0.9.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.9.bb
@@ -40,6 +40,9 @@  RDEPENDS_${PN}_append_libc-glibc_class-target = "glibc-gconv-iso8859-1"
 
 EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix --without-libreadline-prefix', ''][bb.data.inherits_class('native',d)]}"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[readline] = "--with-libreadline,--without-libreadline-support,readline"
+
 do_configure_prepend() {
 	mkdir -p po
 }