summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2006-08-07 00:21:49 +0000
committerAlastair Tse <liquidx@gentoo.org>2006-08-07 00:21:49 +0000
commit6cf0ad17dd2c645458b7f005041178a150b78d44 (patch)
tree8b1db7dcdea541f740563f181d22d393980b8b6f /eclass
parentMarking stable amd64, sparc (diff)
downloadgentoo-2-6cf0ad17dd2c645458b7f005041178a150b78d44.tar.gz
gentoo-2-6cf0ad17dd2c645458b7f005041178a150b78d44.tar.bz2
gentoo-2-6cf0ad17dd2c645458b7f005041178a150b78d44.zip
update error message in python and distutils eclass to reflect USE flag renaming from tcltk to tk. (#142954)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils.eclass5
-rw-r--r--eclass/python.eclass6
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 <jnelson@gentoo.org>
# Current Maintainer: Alastair Tse <liquidx@gentoo.org>
@@ -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 <liquidx@gentoo.org>
#
@@ -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