diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2008-09-28 18:52:16 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2008-09-28 18:52:16 +0000 |
commit | b558572479808fea53374f67bc5100b301fd3520 (patch) | |
tree | ce6f17a2c7e49bba89f39318b72410a0952da4e9 /eclass/cmake-utils.eclass | |
parent | Unleash the devil and remove the gtk+-2.14 and co mask (diff) | |
download | gentoo-2-b558572479808fea53374f67bc5100b301fd3520.tar.gz gentoo-2-b558572479808fea53374f67bc5100b301fd3520.tar.bz2 gentoo-2-b558572479808fea53374f67bc5100b301fd3520.zip |
Don't export src_configure for EAPI!=2.
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 14 |
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 |