/[gentoo-x86]/eclass/wxwidgets.eclass
Gentoo

Diff of /eclass/wxwidgets.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.1 2004/08/05 16:28:11 pythonhead Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.2 2004/08/07 03:40:19 pythonhead Exp $
4# 4#
5# Author Rob Cakebread <pythonhead@gentoo.org> 5# Author Rob Cakebread <pythonhead@gentoo.org>
6 6
7# This eclass helps you find the correct wx-config script so ebuilds 7# This eclass helps you find the correct wx-config script so ebuilds
8# can use gtk, gtk2 or gtk2+unicode versions of wxGTK 8# can use gtk, gtk2 or gtk2+unicode versions of wxGTK
46 elif [ -e ${wxconfig_debug} ] ; then 46 elif [ -e ${wxconfig_debug} ] ; then
47 export WX_CONFIG=${wxconfig_debug} 47 export WX_CONFIG=${wxconfig_debug}
48 echo " * Using ${wxconfig_debug}" 48 echo " * Using ${wxconfig_debug}"
49 else 49 else
50 echo "!!! $FUNCNAME: Error: Can't find normal or debug version:" 50 echo "!!! $FUNCNAME: Error: Can't find normal or debug version:"
51 echo "!!! $FUNCNAME: !!! ${wxconfig} not found" 51 echo "!!! $FUNCNAME: ${wxconfig} not found"
52 echo "!!! $FUNCNAME: !!! ${wxconfig_debug} not found" 52 echo "!!! $FUNCNAME: ${wxconfig_debug} not found"
53 case $1 in
54 wxgtk) echo "!!! You need to emerge wxGTK with -no_wxgtk1 in your USE";;
55 wxgtkd) echo "!!! You need to emerge wxGTK with -no_wxgtk1 in your USE";;
56 wxgtk2) echo "!!! You need to emerge wxGTK with gtk2 in your USE";;
57 wxgtk2d) echo "!!! You need to emerge wxGTK with gtk2 in your USE";;
58 wxgtk2u) echo "!!! You need to emerge wxGTK with unicode in your USE";;
59 wxgtk2ud) echo "!!! You need to emerge wxGTK with unicode in your USE";;
60 esac
53 exit 1 61 exit 1
54 fi 62 fi
55} 63}
56 64
57 65

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20