mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Fix readline.pc that incorrectly referenced termcap
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11814 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
50fdfc80bc
commit
a5dddcb516
@ -45,6 +45,11 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>2020-04-19</para>
|
<para>2020-04-19</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[pierre] - Prevent readline.pc from referencing termcap as
|
||||||
|
a private library by adding --with-curses to configure switches.
|
||||||
|
Fixes <ulink url="&lfs-ticket-root;4635">#4635</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[pierre] - Allow bison to use the libtextstyle.so library from
|
<para>[pierre] - Allow bison to use the libtextstyle.so library from
|
||||||
gettext, by moving gettext before bison. Fixes
|
gettext, by moving gettext before bison. Fixes
|
||||||
|
@ -53,8 +53,24 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
|
|||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
--with-curses \
|
||||||
--docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
|
--docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
|
||||||
|
|
||||||
|
<variablelist>
|
||||||
|
<title>The meaning of the configure option:</title>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>--with-curses"</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This option tells Readline that it can find the termcap
|
||||||
|
library functions in the curses library, rather than a separate
|
||||||
|
termcap library. It allows generating a correct
|
||||||
|
<filename>readline.pc</filename> file.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
</variablelist>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
|
||||||
<screen><userinput remap="make">make SHLIB_LIBS="-L/tools/lib -lncursesw"</userinput></screen>
|
<screen><userinput remap="make">make SHLIB_LIBS="-L/tools/lib -lncursesw"</userinput></screen>
|
||||||
|
Loading…
Reference in New Issue
Block a user