aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/diffutils-exp.xml5
-rw-r--r--chapter05/diffutils-inst.xml4
2 files changed, 2 insertions, 7 deletions
diff --git a/chapter05/diffutils-exp.xml b/chapter05/diffutils-exp.xml
index d34805d31..4dc40ea07 100644
--- a/chapter05/diffutils-exp.xml
+++ b/chapter05/diffutils-exp.xml
@@ -9,10 +9,5 @@ before handing the source file to the compiler itself for compilation. This
package has problems linking statically on systems that run an older
Glibc version and this construction fixes that problem.</para>
-<para><userinput>PR_PROGRAM=/usr/bin/pr:</userinput> When 'diff' is called
-with the '-l' flag, it tries to find 'pr' at the location specified with the
-PR_PROGRAM variable. By default, this variable points to '/bin/pr', but since
-we install 'pr' in /usr/bin, we need to change this.</para>
-
</sect2>
diff --git a/chapter05/diffutils-inst.xml b/chapter05/diffutils-inst.xml
index f8b9e1521..d0266cf73 100644
--- a/chapter05/diffutils-inst.xml
+++ b/chapter05/diffutils-inst.xml
@@ -10,14 +10,14 @@ use the first version.</para>
<para><screen><userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2 &amp;&amp;
./configure --prefix=$LFS/usr &amp;&amp;
unset CPPFLAGS &amp;&amp;
-make LDFLAGS=-static PR_PROGRAM=/usr/bin/pr &amp;&amp;
+make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>
<para>If you are using a newer glibc version (2.2.x), you can use the following
commands to install Diffutils:</para>
<para><screen><userinput>./configure --prefix=$LFS/usr &amp;&amp;
-make LDFLAGS=-static PR_PROGRAM=/usr/bin/pr &amp;&amp;
+make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>
</sect2>