summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2009-10-28 14:27:17 +0000
committerJonathan Callen <jcallen@gentoo.org>2009-10-28 14:27:17 +0000
commitf29b49ece29229c5c63f3bcc8d3834c97e4f50ae (patch)
treea1618d50b7a139a88198c5abda6b7e670ccce20b /eclass
parentUse correct variable (diff)
downloadhistorical-f29b49ece29229c5c63f3bcc8d3834c97e4f50ae.tar.gz
historical-f29b49ece29229c5c63f3bcc8d3834c97e4f50ae.tar.bz2
historical-f29b49ece29229c5c63f3bcc8d3834c97e4f50ae.zip
Add back-compat code for CMAKE_REQUIRED
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-base.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index d78701834a9a..c28be279994a 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.50 2009/10/28 14:23:43 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.51 2009/10/28 14:27:17 abcd Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@@ -19,7 +19,7 @@
# 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:-always}"
+WANT_CMAKE="${WANT_CMAKE:-${CMAKE_REQUIRED:-always}}"
if [[ ${WANT_CMAKE} = false || ${WANT_CMAKE} = never ]]; then
buildsystem_eclass=""
export_fns=""