summaryrefslogtreecommitdiffstats
path: root/recipes-core/readline/readline_5.2.bb
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-04-12 08:38:08 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-12 15:54:31 +0100
commit0c1bb43df39a9cd0256d742c8de47b53b0db2bfc (patch)
tree29e87462ab86b649ee4183eb3fa311f3c7f13210 /recipes-core/readline/readline_5.2.bb
parentd2f8b5cdb285b72a4ed93450f6703ca27aa42e8a (diff)
downloadmeta-gplv2-master-next.tar.gz
readline: add config file for pkgconfigmaster-next
After bind upgrade to 9.18.x, the below change introduced [1], all supported libraries have accompanying .pc files now. ba2376b9e0 Update and cleanup the readline library support Otherwise, there comes below error during do_configure. $ bitbake bind | configure: error: Package requirements (readline) were not met: | | No package 'readline' found So backport patches [2] to add support .pc file for readline to fix the above issue. [1] https://gitlab.isc.org/isc-projects/bind9/-/commit/ba2376b9e03b9bd214242c987609a658ef24ec41 [2] https://git.savannah.gnu.org/cgit/readline.git/commit/?id=d49a9082c0e15bba8cd3d8cc0a994409cf823cac Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'recipes-core/readline/readline_5.2.bb')
-rw-r--r--recipes-core/readline/readline_5.2.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-core/readline/readline_5.2.bb b/recipes-core/readline/readline_5.2.bb
index d42ce8b..5ce1d3f 100644
--- a/recipes-core/readline/readline_5.2.bb
+++ b/recipes-core/readline/readline_5.2.bb
@@ -29,7 +29,9 @@ SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \
29 ${GNU_MIRROR}/readline/readline-5.2-patches/readline52-014;name=patch14;apply=yes;striplevel=0 \ 29 ${GNU_MIRROR}/readline/readline-5.2-patches/readline52-014;name=patch14;apply=yes;striplevel=0 \
30 file://configure-fix.patch \ 30 file://configure-fix.patch \
31 file://config-dirent-symbols.patch \ 31 file://config-dirent-symbols.patch \
32 file://fix-redundant-rpath.patch" 32 file://fix-redundant-rpath.patch \
33 file://0001-Makefile.in-add-readline.pc.in.patch \
34 file://readline.pc.in"
33 35
34SRC_URI[archive.md5sum] = "e39331f32ad14009b9ff49cc10c5e751" 36SRC_URI[archive.md5sum] = "e39331f32ad14009b9ff49cc10c5e751"
35SRC_URI[archive.sha256sum] = "12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45" 37SRC_URI[archive.sha256sum] = "12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45"
@@ -66,6 +68,7 @@ SRC_URI[patch14.sha256sum] = "6f1a68320d01522ca1ea5a737124ecc8739f3dcbfea2dee21e
66inherit autotools 68inherit autotools
67 69
68EXTRA_AUTORECONF += "--exclude=autoheader" 70EXTRA_AUTORECONF += "--exclude=autoheader"
71EXTRA_OECONF += "bash_cv_termcap_lib=ncurses"
69 72
70LEAD_SONAME = "libreadline.so" 73LEAD_SONAME = "libreadline.so"
71 74
@@ -73,6 +76,7 @@ do_configure:prepend () {
73 if [ ! -e ${S}/acinclude.m4 ]; then 76 if [ ! -e ${S}/acinclude.m4 ]; then
74 cat ${S}/aclocal.m4 > ${S}/acinclude.m4 77 cat ${S}/aclocal.m4 > ${S}/acinclude.m4
75 fi 78 fi
79 cp -r ${WORKDIR}/readline.pc.in ${S}
76} 80}
77 81
78do_install:append () { 82do_install:append () {