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

Diff of /eclass/xfconf.eclass

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

Revision 1.18 Revision 1.20
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.18 2010/09/16 17:09:51 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.20 2010/11/03 17:43:13 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
111 fi 111 fi
112} 112}
113 113
114# @FUNCTION: xfconf_src_configure 114# @FUNCTION: xfconf_src_configure
115# @DESCRIPTION: 115# @DESCRIPTION:
116# Run econf with opts in XFCONF variable 116# Run econf with opts in XFCONF array
117xfconf_src_configure() { 117xfconf_src_configure() {
118 debug-print-function ${FUNCNAME} "$@" 118 debug-print-function ${FUNCNAME} "$@"
119
120 # Convert XFCONF to an array, see base.eclass for original code
121 if [[ "$(declare -p XFCONF 2>/dev/null 2>&1)" != "declare -a"* ]]; then
122 XFCONF=( ${XFCONF} )
123 fi
124
119 econf ${XFCONF} 125 econf ${XFCONF[@]}
120} 126}
121 127
122# @FUNCTION: xfconf_src_compile 128# @FUNCTION: xfconf_src_compile
123# @DESCRIPTION: 129# @DESCRIPTION:
124# Run econf with opts in XFCONF variable 130# Run econf with opts in XFCONF variable

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.20