aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-28 02:16:10 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-28 02:16:10 +0000
commit1495852dd001f63f275bfef8159b70b5674830bb (patch)
tree0e66a00e50ab7d745c5e315db88866206c6822a0
parentda9119c1eb9835056171c1a99410378e7d2aa0f6 (diff)
added vim patch command to FHS section
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1925 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/vim-inst.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml
index 394f02d43..2d722292e 100644
--- a/chapter06/vim-inst.xml
+++ b/chapter06/vim-inst.xml
@@ -31,7 +31,8 @@ for their temporary state files, like temporary save files for example.
If you wish vim to conform to the FHS, you should use this command set
instead of the one presented above:</para>
-<para><screen><userinput>./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;
+<para><screen><userinput>patch -Np1 -i ../vim-&vim-version;.patch &amp;&amp;
+./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;
make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
make install &amp;&amp;
ln -sf vim /usr/bin/vi</userinput></screen></para>