浏览代码

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 年之前
父节点
当前提交
1495852dd0
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 
 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>