commit:     f89c628ae04a2e3d52edab9394d42d839de3b39e
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  4 15:43:56 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 11:24:37 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89c628a

cmake-utils.eclass: Simplify.

The exported function list used to be variable due to new phase functions
introduced in EAPI 2 and later. Since we no longer support earlier EAPIs,
the exported function list is now static and the variable is no longer
required.

 eclass/cmake-utils.eclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index 948b838..480cd09 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -128,8 +128,7 @@ case ${EAPI} in
        *) die "EAPI=${EAPI:-0} is not supported" ;;
 esac
 
-CMAKE_EXPF="src_prepare src_configure src_compile src_test src_install"
-EXPORT_FUNCTIONS ${CMAKE_EXPF}
+EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install
 
 case ${CMAKE_MAKEFILE_GENERATOR} in
        emake)

Reply via email to