|
@@ -3,10 +3,11 @@
|
|
<sect2>
|
|
<sect2>
|
|
<title>Installation of Man</title>
|
|
<title>Installation of Man</title>
|
|
|
|
|
|
-<para>There are three patches for Man. The first patch comments out one of the
|
|
|
|
-lines in the <filename>man.conf</filename> file (MANPATH /usr/man) to
|
|
|
|
-prevent redundant results when using programs such as
|
|
|
|
-<userinput>whatis</userinput>:</para>
|
|
|
|
|
|
+<para>We'l make three adjustments to the sources of Man.</para>
|
|
|
|
+
|
|
|
|
+ <para>The first patch comments out the "MANPATH /usr/man" line in the
|
|
|
|
+ <filename>man.conf</filename> file to prevent redundant results when using
|
|
|
|
+ programs such as <userinput>whatis</userinput>:</para>
|
|
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../man-&man-manpath-patch-version;-manpath.patch</userinput></screen></para>
|
|
<para><screen><userinput>patch -Np1 -i ../man-&man-manpath-patch-version;-manpath.patch</userinput></screen></para>
|
|
|
|
|
|
@@ -16,17 +17,17 @@ handled properly:</para>
|
|
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../man-&man-pager-patch-version;-pager.patch</userinput></screen></para>
|
|
<para><screen><userinput>patch -Np1 -i ../man-&man-pager-patch-version;-pager.patch</userinput></screen></para>
|
|
|
|
|
|
-<para>The last patch prevents problem when man pages not formatted
|
|
|
|
-with more than 80 columns are used in conjunction with recent releases
|
|
|
|
-of <userinput>groff</userinput>:</para>
|
|
|
|
|
|
+<para>The third and last patch prevents a problem when man pages not formatted
|
|
|
|
+with more than 80 columns are used in conjunction with recent releases of
|
|
|
|
+<userinput>groff</userinput>:</para>
|
|
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../man-&man-80cols-patch-version;-80cols.patch</userinput></screen></para>
|
|
<para><screen><userinput>patch -Np1 -i ../man-&man-80cols-patch-version;-80cols.patch</userinput></screen></para>
|
|
|
|
|
|
-<para>The paths to some programs are written into man's files.
|
|
|
|
-Unfortunately, the configure script picks the last location in PATH
|
|
|
|
|
|
+<para>The paths to some programs are hard-wired into Man's executables.
|
|
|
|
+Unfortunately, the configuration script picks the last location in PATH
|
|
rather than the first place a program is found. By appending
|
|
rather than the first place a program is found. By appending
|
|
<emphasis>/usr/bin:/bin</emphasis> to PATH for the
|
|
<emphasis>/usr/bin:/bin</emphasis> to PATH for the
|
|
-<userinput>./configure</userinput> command, we ensure that man doesn't
|
|
|
|
|
|
+<userinput>./configure</userinput> command, we ensure that Man doesn't
|
|
use the programs in the <filename class="directory">/stage1</filename>
|
|
use the programs in the <filename class="directory">/stage1</filename>
|
|
directory.</para>
|
|
directory.</para>
|
|
|
|
|