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

Diff of /eclass/xfconf.eclass

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

Revision 1.12 Revision 1.13
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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/xfconf.eclass,v 1.12 2010/03/26 11:59:08 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.13 2010/03/26 12:10:14 ssuominen Exp $
4 4
5# @ECLASS: xfconf.eclass 5# @ECLASS: xfconf.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# XFCE maintainers <xfce@gentoo.org> 7# XFCE maintainers <xfce@gentoo.org>
8# @BLURB: Default XFCE ebuild layout 8# @BLURB: Default XFCE ebuild layout
63EXPORT_FUNCTIONS ${XFCONF_EXPF} 63EXPORT_FUNCTIONS ${XFCONF_EXPF}
64 64
65# @FUNCTION: xfconf_use_debug 65# @FUNCTION: xfconf_use_debug
66# @RETURN: 66# @RETURN:
67# Return --enable-debug, null, --enable-debug=full or --disable-debug based on 67# Return --enable-debug, null, --enable-debug=full or --disable-debug based on
68# I_KNOW_WHAT_I_AM_DOING variable and USE debug 68# XFCONF_FULL_DEBUG variable and USE debug
69xfconf_use_debug() { 69xfconf_use_debug() {
70 if has debug ${IUSE}; then 70 if has debug ${IUSE}; then
71 if use debug; then 71 if use debug; then
72 if [[ -n $I_KNOW_WHAT_I_AM_DOING ]]; then 72 if [[ -n $XFCONF_FULL_DEBUG ]]; then
73 echo "--enable-debug=full" 73 echo "--enable-debug=full"
74 else 74 else
75 echo "--enable-debug" 75 echo "--enable-debug"
76 fi 76 fi
77 else 77 else
78 if [[ -n $I_KNOW_WHAT_I_AM_DOING ]]; then 78 if [[ -n $XFCONF_FULL_DEBUG ]]; then
79 echo "--disable-debug" 79 echo "--disable-debug"
80 fi 80 fi
81 fi 81 fi
82 fi 82 fi
83} 83}

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20