diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-02-16 04:23:22 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-02-16 04:23:22 +0000 |
commit | 9190415f69b3125055dbda86b89645540c373aef (patch) | |
tree | 2290ef821d465e1b567bc8935011f559aa2ebc42 /eclass/vim.eclass | |
parent | Added ~sparc keyword to fix dev-ruby/mod-ruby's broken deps. (diff) | |
download | historical-9190415f69b3125055dbda86b89645540c373aef.tar.gz historical-9190415f69b3125055dbda86b89645540c373aef.tar.bz2 historical-9190415f69b3125055dbda86b89645540c373aef.zip |
add VIM_RUNTIME_SNAP support
Diffstat (limited to 'eclass/vim.eclass')
-rw-r--r-- | eclass/vim.eclass | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass index 58a539f436fd..ede40dd31687 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.48 2004/01/14 22:57:09 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.49 2004/02/16 04:23:22 agriffis Exp $ # Authors: # Ryan Phillips <rphillips@gentoo.org> @@ -130,6 +130,16 @@ vim_src_unpack() { # Apply any patches available from vim.org for this version [ -n "$VIM_ORG_PATCHES" ] && apply_vim_patches + # Unpack the runtime snapshot if available (only for vim-core) + if [ -n "$VIM_RUNTIME_SNAP" ]; then + cd ${S} || die + ebegin "Unpacking vim runtime snapshot" + rm -rf runtime + bzip2 -dc ${DISTDIR}/${VIM_RUNTIME_SNAP} | /bin/tar xf - + assert # this will check both parts of the pipeline; eend would not + eend 0 + fi + # Another set of patches borrowed from src rpm to fix syntax errors etc. cd ${S} || die "cd ${S} failed" EPATCH_SUFFIX="gz" EPATCH_FORCE="yes" \ |