summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-09-28 18:52:16 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-09-28 18:52:16 +0000
commit79e8fa0432ae9d28b91dc25cda1829ebba2a6e19 (patch)
treea9e3765992db177cfee892cebc6c84589975eccf /eclass/cmake-utils.eclass
parentUnleash the devil and remove the gtk+-2.14 and co mask (diff)
downloadhistorical-79e8fa0432ae9d28b91dc25cda1829ebba2a6e19.tar.gz
historical-79e8fa0432ae9d28b91dc25cda1829ebba2a6e19.tar.bz2
historical-79e8fa0432ae9d28b91dc25cda1829ebba2a6e19.zip
Don't export src_configure for EAPI!=2.
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r--eclass/cmake-utils.eclass14
1 files changed, 11 insertions, 3 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index d6a7dee83d9f..a5729a5eba74 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.9 2008/09/28 16:19:06 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.10 2008/09/28 18:52:16 jmbsvicetto Exp $
# @ECLASS: cmake-utils.eclass
# @MAINTAINER:
@@ -21,7 +21,15 @@ DESCRIPTION="Based on the ${ECLASS} eclass"
DEPEND=">=dev-util/cmake-2.4.6"
-EXPORT_FUNCTIONS src_configure src_compile src_test src_install
+case ${EAPI} in
+ 2)
+ EXPORT_FUNCTIONS src_configure src_compile src_test src_install
+ ;;
+ *)
+ EXPORT_FUNCTIONS src_compile src_test src_install
+ ;;
+esac
+
# Internal function use by cmake-utils_use_with and cmake-utils_use_enable
_use_me_now() {
@@ -90,7 +98,7 @@ cmake-utils_src_configure() {
# eapi and based on it configure or only compile
cmake-utils_src_compile() {
case ${EAPI} in
- 2 | 2_pre3 | 2_pre2 | 2_pre1)
+ 2)
;;
*)
cmake-utils_src_configure