summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2004-08-07 03:40:19 +0000
committerRob Cakebread <pythonhead@gentoo.org>2004-08-07 03:40:19 +0000
commit66ba3889bc830261599d9f0752142f32de8073c2 (patch)
tree4715a3250e53634724bbb37129146a9b0948f558 /eclass/wxwidgets.eclass
parentstable on alpha and ia64 #59483 (diff)
downloadhistorical-66ba3889bc830261599d9f0752142f32de8073c2.tar.gz
historical-66ba3889bc830261599d9f0752142f32de8073c2.tar.bz2
historical-66ba3889bc830261599d9f0752142f32de8073c2.zip
Claified error messages
Diffstat (limited to 'eclass/wxwidgets.eclass')
-rw-r--r--eclass/wxwidgets.eclass14
1 files changed, 11 insertions, 3 deletions
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass
index f4b98e251c46..06ca52a2bbca 100644
--- a/eclass/wxwidgets.eclass
+++ b/eclass/wxwidgets.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/wxwidgets.eclass,v 1.1 2004/08/05 16:28:11 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.2 2004/08/07 03:40:19 pythonhead Exp $
#
# Author Rob Cakebread <pythonhead@gentoo.org>
@@ -48,8 +48,16 @@ set-wxconfig() {
echo " * Using ${wxconfig_debug}"
else
echo "!!! $FUNCNAME: Error: Can't find normal or debug version:"
- echo "!!! $FUNCNAME: !!! ${wxconfig} not found"
- echo "!!! $FUNCNAME: !!! ${wxconfig_debug} not found"
+ echo "!!! $FUNCNAME: ${wxconfig} not found"
+ echo "!!! $FUNCNAME: ${wxconfig_debug} not found"
+ case $1 in
+ wxgtk) echo "!!! You need to emerge wxGTK with -no_wxgtk1 in your USE";;
+ wxgtkd) echo "!!! You need to emerge wxGTK with -no_wxgtk1 in your USE";;
+ wxgtk2) echo "!!! You need to emerge wxGTK with gtk2 in your USE";;
+ wxgtk2d) echo "!!! You need to emerge wxGTK with gtk2 in your USE";;
+ wxgtk2u) echo "!!! You need to emerge wxGTK with unicode in your USE";;
+ wxgtk2ud) echo "!!! You need to emerge wxGTK with unicode in your USE";;
+ esac
exit 1
fi
}