[Buildroot] [PATCH 2/3] readline: install a .pc file

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu May 3 20:14:58 UTC 2018


Hello,

On Sun, 22 Apr 2018 23:20:04 +0200, Thomas Petazzoni wrote:

> diff --git a/package/readline/0001-configure.ac-readline.pc.in-fix-Requires.private-val.patch b/package/readline/0001-configure.ac-readline.pc.in-fix-Requires.private-val.patch
> new file mode 100644
> index 0000000000..22b479cd91
> --- /dev/null
> +++ b/package/readline/0001-configure.ac-readline.pc.in-fix-Requires.private-val.patch
> @@ -0,0 +1,62 @@
> +From 7bbf2046fbcf4416ec226ecb3a2b4c6a5c263298 Mon Sep 17 00:00:00 2001
> +From: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> +Date: Sun, 22 Apr 2018 23:06:28 +0200
> +Subject: [PATCH] configure.ac, readline.pc.in: fix Requires.private value
> +
> +The provided readline.pc.in hardcodes the fact that readline depends
> +on the tinfo library. However, different termcap implementation are
> +supported beyond tinfo. This commit improves the configure.ac script
> +to define a TERMCAP_PKG_CONFIG_LIB variable, which is then used in
> +readline.pc.in.
> +
> +This for example allows the generated readline.pc to properly contain
> +"Requires.private: ncurses" when ncurses is used as the termcap
> +implementation.
> +
> +Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

For information, this patch has been applied upstream by the readline
maintainer. See
http://git.savannah.gnu.org/cgit/readline.git/commit/?h=devel&id=39cef351237a0d4467d3dc62a7710ea5e619b7e1.
(Yes it's one of those project that use Git in a very weird way).

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list