commit:     72cbb71714dfd9885a6b5453fca16b0985292284
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 10:51:52 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 11:22:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72cbb717

dev-libs/nanomsg: update EAPI 7 -> 8, fix cmake variables

Call cmake_src_prepare as it should be.

Closes: https://bugs.gentoo.org/689092
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/nanomsg/nanomsg-1.1.5.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-libs/nanomsg/nanomsg-1.1.5.ebuild 
b/dev-libs/nanomsg/nanomsg-1.1.5.ebuild
index cb84542b8ab5..43d543afa707 100644
--- a/dev-libs/nanomsg/nanomsg-1.1.5.ebuild
+++ b/dev-libs/nanomsg/nanomsg-1.1.5.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-CMAKE_ECLASS=cmake
 inherit cmake-multilib
 
 DESCRIPTION="High-performance messaging interface for distributed applications"
@@ -18,12 +17,13 @@ IUSE="doc"
 DEPEND="doc? ( dev-ruby/asciidoctor )"
 
 multilib_src_prepare() {
-       eapply_user
        # Old CPUs like HPPA fails test because of timeout
        sed -i \
                -e '/inproc_shutdown/s/5/80/' \
                -e '/ws_async_shutdown/s/5/80/' \
                -e '/ipc_shutdown/s/30/80/' CMakeLists.txt || die
+
+       cmake_src_prepare
 }
 
 multilib_src_configure() {
@@ -37,8 +37,8 @@ multilib_src_configure() {
        else
                mycmakeargs+=(
                        -DNN_ENABLE_DOC=OFF
-                       -DNN_ENABLE_TOOLS=OFF
-                       -DNN_ENABLE-NANOCAT=OFF
+                       -DNN_TOOLS=OFF
+                       -DNN_ENABLE_NANOCAT=OFF
                )
        fi
        cmake_src_configure

Reply via email to