cmake-utils.eclass: Simplify.
authorMichael Palimaka <kensington@gentoo.org>
Sat, 4 Apr 2015 15:43:56 +0000 (02:43 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 15 Oct 2015 11:24:37 +0000 (22:24 +1100)
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

index 948b838358e41dbe4dcd7cb982f9affeaa652e06..480cd099648c4dcac380e3744c3fc5db0c64d4fa 100644 (file)
@@ -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)