From b5a4ccda1fcdcf2f8db90b3343b41f654a346201 Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Wed, 9 Jun 2010 18:35:45 +0000 Subject: [PATCH] Rename local USE flag 'vim-with-x' to global USE flag 'X' --- eclass/vim.eclass | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/eclass/vim.eclass b/eclass/vim.eclass index 8c335fd602f9..11131f48a44c 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.186 2010/05/03 01:41:53 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.187 2010/06/09 18:35:45 lack Exp $ # Authors: # Jim Ramsay @@ -107,13 +107,13 @@ else # mzscheme? ( dev-scheme/mzscheme )" if [[ ${MY_PN} == vim ]] ; then - IUSE="${IUSE} vim-with-x minimal vim-pager" + IUSE="${IUSE} X minimal vim-pager" DEPEND="${DEPEND} - vim-with-x? ( x11-libs/libXt x11-libs/libX11 + X? ( x11-libs/libXt x11-libs/libX11 x11-libs/libSM x11-proto/xproto ) !minimal? ( dev-util/ctags )" RDEPEND="${RDEPEND} - vim-with-x? ( x11-libs/libXt ) + X? ( x11-libs/libXt ) !minimal? ( ~app-editors/vim-core-${PV} dev-util/ctags ) ! X communication, like" + elog "updating the xterm titlebar. It does not install a GUI." + fi echo elog "To install a GUI version of vim, use the app-editors/gvim" elog "package." @@ -672,7 +677,7 @@ vim_pkg_postinst() { elog "some of these named app-vim/vim-spell-*. If your language of" elog "choice is not included, please consult vim-spell.eclass for" elog "instructions on how to make a package." - ewarn + echo ewarn "Note that the English word lists are no longer installed by" ewarn "default." @@ -683,7 +688,7 @@ vim_pkg_postinst() { # Warn about VIMRUNTIME if [ -n "$VIMRUNTIME" -a "${VIMRUNTIME##*/vim}" != "${VIM_VERSION/./}" ] ; then - ewarn + echo ewarn "WARNING: You have VIMRUNTIME set in your environment from an old" ewarn "installation. You will need to either unset VIMRUNTIME in each" ewarn "terminal, or log out completely and back in. This problem won't" -- 2.26.2