Browse Source

added vim patch command to FHS section

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1925 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 years ago
parent
commit
1495852dd0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      chapter06/vim-inst.xml

+ 2 - 1
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 
 If you wish vim to conform to the FHS, you should use this command set 
 instead of the one presented above:</para>
 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 CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
 make install &amp;&amp;
 make install &amp;&amp;
 ln -sf vim /usr/bin/vi</userinput></screen></para>
 ln -sf vim /usr/bin/vi</userinput></screen></para>