aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2007-12-08 23:45:02 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2007-12-08 23:45:02 +0000
commitc569ab75443982427e7c7811aab994ebc456b5fa (patch)
treef87a2b6ab68528a0ecdb57a15d920700a097a7a9 /chapter06
parent6a902c00eaf34436df451162a7a755cdc071fffd (diff)
Updated to Man-DB-2.5.0. Fixes #2109.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8436 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/man-db.xml21
1 files changed, 3 insertions, 18 deletions
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index d72f23eb5..52de24fee 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -41,26 +41,16 @@
<sect2 role="installation">
<title>Installation of Man-DB</title>
- <para>Four adjustments need to be made to the sources of Man-DB.</para>
+ <para>Two adjustments need to be made to the sources of Man-DB.</para>
- <para>The first one changes the location of translated manual pages that come
- with Man-DB, in order for them to be accessible in both traditional and
- UTF-8 locales:</para>
-
-<screen><userinput remap="pre">mv man/de{_DE.88591,}
-mv man/es{_ES.88591,}
-mv man/it{_IT.88591,}
-mv man/ja{_JP.eucJP,}
-sed -i 's,\*_\*,??,' man/Makefile.in</userinput></screen>
-
- <para>The second change is a <command>sed</command> substitution to delete
+ <para>The first change is a <command>sed</command> substitution to delete
the <quote>/usr/man</quote> and <quote>/usr/local/man</quote> lines in
the <filename>man_db.conf</filename> file to prevent redundant results
when using programs such as <command>whatis</command>:</para>
<screen><userinput remap="pre">sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in</userinput></screen>
- <para>The third change accounts for programs that Man-DB should be able
+ <para>The second change accounts for programs that Man-DB should be able
to find at runtime, but that haven't been installed yet:</para>
<screen><userinput remap="pre">cat &gt;&gt; include/manconfig.h.in &lt;&lt; "EOF"
@@ -79,11 +69,6 @@ EOF</userinput></screen>
manual pages. They are not part of LFS or BLFS, but you should be able
to install them yourself after finishing LFS if you wish to do so.</para>
- <para>Finally, patch the sources to fix output errors if the man page is
- prematurely aborted by pressing the 'q' key:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&man-db-fixes-patch;</userinput></screen>
-
<para>Prepare Man-DB for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --enable-mb-groff --disable-setuid</userinput></screen>