commit: 11ae42c7bf610c44e7d7135aa5c0782acab32abb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 8 08:27:05 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 8 08:56:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11ae42c7
app-arch/snappy: Port to cmake.eclass
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-arch/snappy/snappy-1.1.8.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app-arch/snappy/snappy-1.1.8.ebuild
b/app-arch/snappy/snappy-1.1.8.ebuild
index 73dbbab511f..9f4dd1f9c58 100644
--- a/app-arch/snappy/snappy-1.1.8.ebuild
+++ b/app-arch/snappy/snappy-1.1.8.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
+CMAKE_ECLASS=cmake
inherit cmake-multilib
DESCRIPTION="A high-speed compression/decompression library by Google"
@@ -33,7 +35,7 @@ src_prepare() {
# it off
sed -i -e '/run_microbenchmarks/s:true:false:' snappy-test.cc || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
multilib_src_configure() {
@@ -52,7 +54,7 @@ multilib_src_configure() {
-DHAVE_LIBZ=NO
-DHAVE_LIBLZO2=NO
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_test() {