From: Jim Ramsay Date: Mon, 3 May 2010 01:41:53 +0000 (+0000) Subject: Use PYTHON_USE_WITH_OPT to only pull in python when actually required. Bug #317939 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62d8f1b61152181fe218ff26370a85f86ed1a39c;p=gentoo.git Use PYTHON_USE_WITH_OPT to only pull in python when actually required. Bug #317939 --- diff --git a/eclass/vim.eclass b/eclass/vim.eclass index 9e3ccc3913dd..8c335fd602f9 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.185 2010/04/15 19:23:34 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.186 2010/05/03 01:41:53 lack Exp $ # Authors: # Jim Ramsay @@ -28,6 +28,7 @@ MY_PN=${PN%-cvs} if [[ ${MY_PN} != "vim-core" ]] ; then # vim supports python-2 only PYTHON_DEPEND="python? 2" + PYTHON_USE_WITH_OPT="python" PYTHON_USE_WITH="threads" fi inherit eutils vim-doc flag-o-matic versionator fdo-mime bash-completion prefix python