diff options
Diffstat (limited to 'dev-cpp/gtest/gtest-9999.ebuild')
-rw-r--r-- | dev-cpp/gtest/gtest-9999.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild index 2fdd8d6bb364..8efe9ee65163 100644 --- a/dev-cpp/gtest/gtest-9999.ebuild +++ b/dev-cpp/gtest/gtest-9999.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 # Python is required for tests and some build tasks. -PYTHON_COMPAT=( python2_7 pypy ) +PYTHON_COMPAT=( python2_7 ) +CMAKE_ECLASS=cmake inherit cmake-multilib python-any-r1 if [[ ${PV} == "9999" ]]; then @@ -42,7 +43,7 @@ pkg_setup() { } src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare sed -i -e '/set(cxx_base_flags /s:-Werror::' \ googletest/cmake/internal_utils.cmake || die "sed failed!" @@ -58,7 +59,7 @@ multilib_src_configure() { -Dgtest_build_tests=$(usex test) -DPYTHON_EXECUTABLE="${PYTHON}" ) - cmake-utils_src_configure + cmake_src_configure } multilib_src_install_all() { |