summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-10-28 15:50:56 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-10-28 15:50:56 +0000
commit67629f19e64d92cc1b282bab6c31625b465bd835 (patch)
tree73d68e554b1b856101618581c1f19b96595c013c /eclass
parentVersion bump. Add new configuration patch (diff)
downloadgentoo-2-67629f19e64d92cc1b282bab6c31625b465bd835.tar.gz
gentoo-2-67629f19e64d92cc1b282bab6c31625b465bd835.tar.bz2
gentoo-2-67629f19e64d92cc1b282bab6c31625b465bd835.zip
Use correct variable name. Effectively reverts abcd's change.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-base.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index c28be279994a..4c10479483b8 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.51 2009/10/28 14:27:17 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.52 2009/10/28 15:50:56 scarabeus Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@@ -13,14 +13,14 @@
# NOTE: KDE 4 ebuilds by default define EAPI="2", this can be redefined but
# eclass will fail with version older than 2.
-# @ECLASS-VARIABLE: WANT_CMAKE
+# @ECLASS-VARIABLE: CMAKE_REQUIRED
# @DESCRIPTION:
# Specify if cmake buildsystem is being used. Possible values are 'always' and 'never'.
# Please note that if it's set to 'never' you need to explicitly override following phases:
# src_configure, src_compile, src_test and src_install.
# Defaults to 'always'.
-WANT_CMAKE="${WANT_CMAKE:-${CMAKE_REQUIRED:-always}}"
-if [[ ${WANT_CMAKE} = false || ${WANT_CMAKE} = never ]]; then
+CMAKE_REQUIRED="${CMAKE_REQUIRED:-${CMAKE_REQUIRED:-always}}"
+if [[ ${CMAKE_REQUIRED} = false || ${CMAKE_REQUIRED} = never ]]; then
buildsystem_eclass=""
export_fns=""
else