diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-04-05 02:43:56 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-10-15 22:24:37 +1100 |
commit | f89c628ae04a2e3d52edab9394d42d839de3b39e (patch) | |
tree | 4a1858e7b9244637898fb1b7ed5025090513e8ca /eclass | |
parent | 1ebdc4b2bedf79956f3c8a9b2cbf6030e37f9f2b (diff) | |
download | gentoo-f89c628ae04a2e3d52edab9394d42d839de3b39e.tar.gz gentoo-f89c628ae04a2e3d52edab9394d42d839de3b39e.tar.xz |
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.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 948b838358e..480cd099648 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) |