From 354ad47f4fa9f0be8b242af7b536eeed8e7d8f80 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sat, 2 May 2009 16:59:03 +0200 Subject: Move variable declaration to the correct place, we cant define it in global scope when we can redefine it later in the ebuild global scope. --- eclass/cmake-utils.eclass | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'eclass/cmake-utils.eclass') diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 92a0ff28d74..0c8981bb6c2 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -111,18 +111,18 @@ _use_me_now_inverted() { # specific compiler flags overriding make.conf. : ${CMAKE_BUILD_TYPE:=Gentoo} -# @ECLASS-VARIABLE: CMAKE_USE_DIR -# @DESCRIPTION: -# Sets the directory where we are working with cmake. -# For example when application uses autotools and only one -# plugin needs to be done by cmake. -# By default it uses ${S}. -: ${CMAKE_USE_DIR:=${S}} - # @FUNCTION: _check_build_dir # @DESCRIPTION: # Determine using IN or OUT source build _check_build_dir() { + # @ECLASS-VARIABLE: CMAKE_USE_DIR + # @DESCRIPTION: + # Sets the directory where we are working with cmake. + # For example when application uses autotools and only one + # plugin needs to be done by cmake. + # By default it uses ${S}. + : ${CMAKE_USE_DIR:=${S}} + # in/out source build if [[ -n "${CMAKE_IN_SOURCE_BUILD}" ]]; then CMAKE_BUILD_DIR="${CMAKE_USE_DIR}" -- cgit v1.2.3