From 1c6607b43f1d4516c59dcf658cc36e5461072cf8 Mon Sep 17 00:00:00 2001 From: Alastair Tse Date: Mon, 7 Aug 2006 00:21:49 +0000 Subject: [PATCH] update error message in python and distutils eclass to reflect USE flag renaming from tcltk to tk. (#142954) --- eclass/distutils.eclass | 5 +++-- eclass/python.eclass | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/eclass/distutils.eclass b/eclass/distutils.eclass index c707061d27b6..7f771c416b2d 100644 --- a/eclass/distutils.eclass +++ b/eclass/distutils.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/distutils.eclass,v 1.31 2006/06/03 17:56:35 radek Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.32 2006/08/07 00:21:49 liquidx Exp $ # # Author: Jon Nelson # Current Maintainer: Alastair Tse @@ -111,7 +111,8 @@ distutils_python_version() { distutils_python_tkinter() { if ! python -c "import Tkinter" >/dev/null 2>&1; then eerror "You need to recompile python with Tkinter support." - eerror "That means: USE='tcltk' emerge python" + eerror "Try adding 'dev-lang/python X tk' to:" + eerror "/etc/portage/package.use" echo die "missing tkinter support with installed python" fi diff --git a/eclass/python.eclass b/eclass/python.eclass index c7fb72c6e238..d3d0ba362603 100644 --- a/eclass/python.eclass +++ b/eclass/python.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/python.eclass,v 1.26 2006/07/14 15:13:32 marienz Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.27 2006/08/07 00:21:49 liquidx Exp $ # # Author: Alastair Tse # @@ -98,8 +98,8 @@ python_makesym() { python_tkinter_exists() { if ! python -c "import Tkinter" >/dev/null 2>&1; then eerror "You need to recompile python with Tkinter support." - eerror "That means: 'dev-lang/python X tcltk'" - eerror "in /etc/portage/package.use" + eerror "Try adding: 'dev-lang/python X tk'" + eerror "in to /etc/portage/package.use" echo die "missing tkinter support with installed python" fi -- 2.26.2