From: Jim Ramsay Date: Sun, 28 Mar 2010 02:23:19 +0000 (+0000) Subject: Oops, don't use MY_PN before setting it! X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6e7ed2673018c7bc0840afa4d62438b1e8c0cadc;p=gentoo.git Oops, don't use MY_PN before setting it! --- diff --git a/eclass/vim.eclass b/eclass/vim.eclass index e6f4f79b6d6e..9b8c3faf09ad 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.182 2010/03/26 18:40:26 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.183 2010/03/28 02:23:19 lack Exp $ # Authors: # Jim Ramsay @@ -22,6 +22,9 @@ # -aqua -gtk -motif nextaw NEXTAW # -aqua -gtk -motif -nextaw ATHENA +# Support -cvs ebuilds, even though they're not in the official tree. +MY_PN=${PN%-cvs} + if [[ ${MY_PN} != "vim-core" ]] ; then # vim supports python-2 only PYTHON_DEPEND="python? 2" @@ -50,9 +53,6 @@ if [[ ${PN##*-} == "cvs" ]] ; then inherit cvs fi -# Support -cvs ebuilds, even though they're not in the official tree. -MY_PN=${PN%-cvs} - IUSE="nls acl" TO_EXPORT="pkg_setup src_compile src_install src_test pkg_postinst pkg_postrm"