aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/vim-inst.xml')
-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 e7e46a57a..69979fb86 100644
--- a/chapter06/vim-inst.xml
+++ b/chapter06/vim-inst.xml
@@ -9,7 +9,8 @@ which are currently available are for Emacs, Joe and nano.</para>
<para>Install Vim by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+<para><screen><userinput>patch -Np1 -i ../vim-&vim-version;.patch &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
make install &amp;&amp;
ln -sf vim /usr/bin/vi</userinput></screen></para>