summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-12-12 00:34:52 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-12-12 00:34:52 +0000
commit30c39dd91dec5776f790b42c5aa3fda7ed92317d (patch)
tree7f53e80996a8a48ffa2136b19c6ebab62348579a /app-editors
parentAdded David Wallwitz's suggestions to the ebuild. (diff)
downloadhistorical-30c39dd91dec5776f790b42c5aa3fda7ed92317d.tar.gz
historical-30c39dd91dec5776f790b42c5aa3fda7ed92317d.tar.bz2
historical-30c39dd91dec5776f790b42c5aa3fda7ed92317d.zip
moved vimrc to /etc/vim/vimrc. Fixes #10986.
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/vim/ChangeLog5
-rw-r--r--app-editors/vim/vim-6.1-r17.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/app-editors/vim/ChangeLog b/app-editors/vim/ChangeLog
index d6566beb2707..485e39027559 100644
--- a/app-editors/vim/ChangeLog
+++ b/app-editors/vim/ChangeLog
@@ -1,12 +1,15 @@
# ChangeLog for app-editors/vim
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/ChangeLog,v 1.27 2002/12/09 04:17:41 manson Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/ChangeLog,v 1.28 2002/12/12 00:34:52 rphillips Exp $
\* Autoupdate keywords (12-6-02)
06 Dec 2002; Rodney Rees <manson@gentoo.org> changed sparc ~sparc keywords
*vim-6.1-r17.ebuild (06 Dec 2002)
+ 11 Dec 2002; Ryan Phillips <rphillips@gentoo.org> vim-6.1-r17.ebuild :
+ Moved vimrc file to /etc/vim/vimrc
+
06 Dec 2002; Ryan Phillips <rphillips@gentoo.org> vim-6.1-r17.ebuild :
zhen added utf-8 support.... I added a new patch set support (1-263)
diff --git a/app-editors/vim/vim-6.1-r17.ebuild b/app-editors/vim/vim-6.1-r17.ebuild
index 5cd77bbb183d..3269d4ec9f2a 100644
--- a/app-editors/vim/vim-6.1-r17.ebuild
+++ b/app-editors/vim/vim-6.1-r17.ebuild
@@ -1,6 +1,6 @@
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-6.1-r17.ebuild,v 1.4 2002/12/09 22:05:03 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-6.1-r17.ebuild,v 1.5 2002/12/12 00:34:52 rphillips Exp $
VIMPATCH="vimpatch-1-263.tar.bz2"
inherit vim
@@ -44,6 +44,13 @@ src_compile() {
--with-features=huge --with-cscope $myconf \
--enable-gui=no \
|| die "vim configure failed"
+
+ # move config files to /etc/vim/
+ echo "#define SYS_VIMRC_FILE \"/etc/vim/vimrc\"" \
+ >>${WORKDIR}/vim61/src/feature.h
+ echo "#define SYS_GVIMRC_FILE \"/etc/vim/gvimrc\"" \
+ >>${WORKDIR}/vim61/src/feature.h
+
# Parallel make does not work
make || die "vim make failed"
}
@@ -52,7 +59,7 @@ src_install() {
dobin src/vim
ln -s vim ${D}/usr/bin/vimdiff
# Default vimrc
- insinto /usr/share/vim
+ insinto /etc/vim/
doins ${FILESDIR}/vimrc
}