summaryrefslogtreecommitdiffstats
path: root/extra/vim/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vim/APKBUILD')
-rw-r--r--extra/vim/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/vim/APKBUILD b/extra/vim/APKBUILD
index bca7c9da..e79ba50c 100644
--- a/extra/vim/APKBUILD
+++ b/extra/vim/APKBUILD
@@ -3,7 +3,7 @@ pkgname=vim
_srcver=7.2
_patchver=079
pkgver=$_srcver.$_patchver
-pkgrel=0
+pkgrel=1
pkgdesc="advanced text editor"
url="http://www.vim.org"
license='GPL'
@@ -124,6 +124,9 @@ build() {
patch -p0 < $i || return 1
done
+ # Read vimrc from /etc/vim
+ echo '#define SYS_VIMRC_FILE "/etc/vim/vimrc"' >> src/feature.h
+
./configure --prefix=/usr \
--without-x \
--disable-nls