aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gawk-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-03-16 23:28:17 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-03-16 23:28:17 +0000
commit6f265d231a1aea46bb006352db169eb6a288a5f1 (patch)
treebbfec090f3d1a57ed8350ca2ea81ef03c4129565 /chapter05/gawk-inst.xml
parent1858558e82089aadd977796eb14fac7db79421bb (diff)
added --libexecdir
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1716 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gawk-inst.xml')
-rw-r--r--chapter05/gawk-inst.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter05/gawk-inst.xml b/chapter05/gawk-inst.xml
index 0c216232f..9bea62ee3 100644
--- a/chapter05/gawk-inst.xml
+++ b/chapter05/gawk-inst.xml
@@ -13,7 +13,8 @@ sed -e '/^datadir/s/awk/gawk/' \
-e '/^libexecdir/s%/awk%%' Makefile.in.backup &gt; Makefile.in &amp;&amp;
cd .. &amp;&amp;
export CPPFLAGS=-Dre_max_failures=re_max_failures2 &amp;&amp;
-./configure --prefix=$LFS/usr --disable-nls &amp;&amp;
+./configure --prefix=$LFS/usr --disable-nls \
+ --libexecdir=$LFS/usr/bin &amp;&amp;
unset CPPFLAGS &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>
@@ -26,7 +27,8 @@ cp Makefile.in Makefile.in.backup &amp;&amp;
sed -e '/^datadir/s/awk/gawk/' \
-e '/^libexecdir/s%/awk%%' Makefile.in.backup &gt; Makefile.in &amp;&amp;
cd .. &amp;&amp;
-./configure --prefix=$LFS/usr --disable-nls &amp;&amp;
+./configure --prefix=$LFS/usr --disable-nls \
+ --libexecdir=$LFS/usr/bin &amp;&amp;
make LDFLAGS=-static &amp;&amp;
make install</userinput></screen></para>