update error message in python and distutils eclass to reflect USE flag renaming...
authorAlastair Tse <liquidx@gentoo.org>
Mon, 7 Aug 2006 00:21:49 +0000 (00:21 +0000)
committerAlastair Tse <liquidx@gentoo.org>
Mon, 7 Aug 2006 00:21:49 +0000 (00:21 +0000)
eclass/distutils.eclass
eclass/python.eclass

index c707061d27b60172bff3d465e95d87d82fed25f5..7f771c416b2d7ee344a7b72d74c3ab48f48cfec0 100644 (file)
@@ -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
index c7fb72c6e238e2a75c3fd9f7374d3e812d95f259..d3d0ba3626038e5fcb90beb1ed3d95ca2a0cd859 100644 (file)
@@ -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