Really remove resizecons.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9879 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Ken Moffat 2012-06-05 18:49:38 +00:00
parent 9d5dd7c69d
commit 1857e34d21
2 changed files with 16 additions and 3 deletions

View File

@ -48,6 +48,10 @@
<para>[matthew] - Upgrade to Linux-3.4.1. Fixes
<ulink url="&lfs-ticket-root;3110">#3110</ulink>.</para>
</listitem>
<listitem>
<para>[ken] - Really remove the redundant program resizecons from kbd,
by changing configure.ac instead of configure. Thanks to xinglp.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -66,10 +66,19 @@ so the sed will need attention if that change is not removed before the next rel
<para>Remove the redundant <command>resizecons</command> program (32-bit x86
only, needs the defunct svgalib, which predates linux-2.6 and is incompatible
with modern KMS, to provide the video mode files - for normal use
<command>setfont</command> sizes the console appropriately) and its manpage:</para>
<command>setfont</command> sizes the console appropriately) and its manpage.</para>
<screen><userinput remap="pre">sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/' configure &amp;&amp;
sed -i 's/resizecons.8 //' man/man8/Makefile.in</userinput></screen>
<para>Because we change <filename>Makefile.in</filename>, with modern autotools
various commands will be rerun by <command>make</command> after
<command>configure</command> has run. In this case, <filename>configure</filename>
will be regenerated, so we need to change <filename>configure.ac</filename>.
Running <command>autoreconf</command> ensures this all happens before
<command>configure</command> is run, instead of during <command>make</command>.
</para>
<screen><userinput remap="pre">sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/' configure.ac &amp;&amp;
sed -i 's/resizecons.8 //' man/man8/Makefile.in &amp;&amp;
autoreconf</userinput></screen>
<para>Prepare Kbd for compilation:</para>