diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-03-16 03:15:06 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-03-16 03:15:06 +0000 |
commit | 1b2007296d347b02687394ce62073bfd5c0cd1ff (patch) | |
tree | 92b458b09700a324e4084719e4608ec574a9303d /eclass | |
parent | rehauled (diff) | |
download | historical-1b2007296d347b02687394ce62073bfd5c0cd1ff.tar.gz historical-1b2007296d347b02687394ce62073bfd5c0cd1ff.tar.bz2 historical-1b2007296d347b02687394ce62073bfd5c0cd1ff.zip |
fixed vim.eclass for the gtk2 issue
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vim.eclass | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass index 910174aac65c..6ef2c57b858f 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,12 +1,15 @@ # 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.12 2003/03/15 01:06:46 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.13 2003/03/16 03:15:06 seemant Exp $ # # Author Ryan Phillips <rphillips@gentoo.org> # Modified by: Seemant Kulleen <seemant@gentoo.org> # Ripped from the vim ebuilds. src_compile and install # should be integrated in at some point +ECLASS=vim +EXPORT_FUNCTIONS src_unpack + inherit eutils # Calculate the version based on the name of the ebuild @@ -80,7 +83,7 @@ epatch_prep() { } -src_unpack() { +vim_src_unpack() { unpack ${A} # Fixup a script to use awk instead of nawk cd ${S}/runtime/tools @@ -96,9 +99,34 @@ src_unpack() { # Another set of patch's borrowed from src rpm to fix syntax error's etc. cd ${S} - EPATCH_SUFFIX="" \ + EPATCH_SUFFIX="gz" \ EPATCH_FORCE="yes" \ - epatch ${WORKDIR}/gentoo/patches + epatch ${WORKDIR}/gentoo/patches-all/ + + # Apply patches to the specific package (gvim, vim, vim-core) +# if [ "${PN}" = "gvim" ] +# then +# cd ${S} +# EPATCH_SUFFIX=-"gz" \ +# EPATCH_FORCE="yes" \ +# epatch ${WORKDIR}/gentoo/patches-gvim/ +# fi +# +# if [ "${PN}" = "vim-core" ] +# then +# cd ${S} +# EPATCH_SUFFIX="gz" \ +# EPATCH_FORCE="yes" \ +# epatch ${WORKDIR}/gentoo/patches-vim-core/ +# fi +# +# if [ "${PN}" = "vim" ] +# then +# cd ${S} +# EPATCH_SUFFIX="gz" \ +# EPATCH_FORCE="yes" \ +# epatch ${WORKDIR}/gentoo/patches-vim/ +# fi } src_compile() { |