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

Diff of /eclass/wxwidgets.eclass

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

Revision 1.24 Revision 1.25
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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.24 2007/12/21 04:32:41 dirtyepic Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.25 2007/12/25 14:46:29 leio Exp $
4 4
5# @ECLASS: wxwidgets.eclass 5# @ECLASS: wxwidgets.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# wxwindows@gentoo.org 7# wxwindows@gentoo.org
8# @BLURB: Manages build configuration for wxGTK-using packages. 8# @BLURB: Manages build configuration for wxGTK-using packages.
224# flag enabled. 224# flag enabled.
225 225
226check_wxuse() { 226check_wxuse() {
227 debug-print-function $FUNCNAME $* 227 debug-print-function $FUNCNAME $*
228 228
229 [[ -n ${WX_GTK_VER} ]] \ 229 if [[ -z ${WX_GTK_VER} ]]; then
230 echo
230 || _wxerror "WX_GTK_VER must be set before calling" 231 eerror "WX_GTK_VER must be set before calling $FUNCNAME."
231 232 echo
233 die "WX_GTK_VER missing"
234 fi
232 235
233 ebegin "Checking wxGTK-${WX_GTK_VER} for ${1} support" 236 ebegin "Checking wxGTK-${WX_GTK_VER} for ${1} support"
234 if built_with_use =x11-libs/wxGTK-${WX_GTK_VER}* "${1}"; then 237 if built_with_use =x11-libs/wxGTK-${WX_GTK_VER}* "${1}"; then
235 eend 0 238 eend 0
236 else 239 else

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20