diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2004-10-17 17:02:39 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2004-10-17 17:02:39 +0000 |
commit | 8ca9e2c167099ab8bd9a756e19acd57247545770 (patch) | |
tree | aefa79796e311d2f1814f98a7df1cfa7ca07d539 /eclass | |
parent | Keywording for ~sparc (Manifest recommit) (diff) | |
download | gentoo-2-8ca9e2c167099ab8bd9a756e19acd57247545770.tar.gz gentoo-2-8ca9e2c167099ab8bd9a756e19acd57247545770.tar.bz2 gentoo-2-8ca9e2c167099ab8bd9a756e19acd57247545770.zip |
netbeans stuff in preparation for vim7
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vim.eclass | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass index b9cb328ba728..dcc48626cd4c 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.75 2004/10/04 22:05:10 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.76 2004/10/17 17:02:39 ciaranm Exp $ # Authors: # Ryan Phillips <rphillips@gentoo.org> @@ -73,7 +73,8 @@ else fi # vim7 has some extra options. tcltk is working again, and mzscheme support - # has been added. + # has been added. netbeans now has its own USE flag, but it's only available + # under gvim (*not* kvim). if [[ $(get_major_version ) -ge 7 ]] ; then if [[ "${MY_PN}" != "vim-core" ]] ; then IUSE="${IUSE} tcltk mzscheme" @@ -84,6 +85,11 @@ else tcltk? ( dev-lang/tcl ) mzscheme? ( dev-lisp/mzscheme )" fi + if [[ "${MY_PN}" == "gvim" ]] ; then + IUSE="$IUSE netbeans" + DEPEND="$DEPEND netbeans? ( dev-util/netbeans )" + RDEPEND="$RDEPEND netbeans? ( dev-util/netbeans )" + fi fi fi @@ -283,6 +289,9 @@ src_compile() { if [[ $(get_major_version ) -ge 7 ]] ; then myconf="${myconf} `use_enable tcl tclinterp`" myconf="${myconf} `use_enable mzscheme mzschemeinterp`" + if [[ "${MY_PN}" == "gvim" ]] ; then + myconf="${myconf} `use_enable netbeans`" + fi fi # --with-features=huge forces on cscope even if we --disable it. We need |