/[gentoo-x86]/eclass/cmake-utils.eclass
Gentoo

Diff of /eclass/cmake-utils.eclass

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

Revision 1.17 Revision 1.18
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/cmake-utils.eclass,v 1.17 2009/03/10 23:22:39 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.18 2009/03/11 16:22:51 scarabeus Exp $
4 4
5# @ECLASS: cmake-utils.eclass 5# @ECLASS: cmake-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @AUTHORS: 8# @AUTHORS:
156cmake-utils_use_has() { _use_me_now HAVE "$@" ; } 156cmake-utils_use_has() { _use_me_now HAVE "$@" ; }
157 157
158# @FUNCTION: cmake-utils_has 158# @FUNCTION: cmake-utils_has
159# @DESCRIPTION: 159# @DESCRIPTION:
160# Deprecated, use cmake-utils_use_has, kept now for backcompat. 160# Deprecated, use cmake-utils_use_has, kept now for backcompat.
161cmake-utils_has() { ewarn "QA: ebuild is using deprecated call. Inform maintainer." ; _use_me_now HAVE "$@" ; } 161cmake-utils_has() { ewarn "QA notice: using deprecated ${FUNCNAME} call, use cmake-utils_use_has instead." ; _use_me_now HAVE "$@" ; }
162 162
163# @FUNCTION: cmake-utils_use 163# @FUNCTION: cmake-utils_use
164# @USAGE: <USE flag> [flag name] 164# @USAGE: <USE flag> [flag name]
165# @DESCRIPTION: 165# @DESCRIPTION:
166# Based on use_enable. See ebuild(5). 166# Based on use_enable. See ebuild(5).
256 256
257# @FUNCTION: cmake-utils_src_configurein 257# @FUNCTION: cmake-utils_src_configurein
258# @DESCRIPTION: 258# @DESCRIPTION:
259# Deprecated 259# Deprecated
260cmake-utils_src_configurein() { 260cmake-utils_src_configurein() {
261 ewarn "QA: This ebuild is using deprecated function call: ${FUNCNAME}" 261 ewarn "QA notice: using deprecated ${FUNCNAME} call, set CMAKE_IN_SOURCE_BUILD=1 instead."
262 ewarn "QA: Inform ebuild maintainer."
263 cmake-utils_src_configure 262 cmake-utils_src_configure
264} 263}
265 264
266# @FUNCTION: cmake-utils_src_configureout 265# @FUNCTION: cmake-utils_src_configureout
267# @DESCRIPTION: 266# @DESCRIPTION:
268# Deprecated 267# Deprecated
269cmake-utils_src_configureout() { 268cmake-utils_src_configureout() {
270 ewarn "QA: This ebuild is using deprecated function call: ${FUNCNAME}" 269 ewarn "QA notice: using deprecated ${FUNCNAME} call, out of source build is enabled by default."
271 ewarn "QA: Inform ebuild maintainer."
272 cmake-utils_src_configure 270 cmake-utils_src_configure
273} 271}
274 272
275# @FUNCTION: cmake-utils_src_make 273# @FUNCTION: cmake-utils_src_make
276# @DESCRIPTION: 274# @DESCRIPTION:

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

  ViewVC Help
Powered by ViewVC 1.1.20