commit:     bc37d00c1cb4e53328fc56bba6f75d1a300d19c6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 26 01:57:47 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 26 02:00:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc37d00c

net-libs/libssh: tidy up 'rm' for module, fix whitespace

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libssh/libssh-0.11.1-r2.ebuild | 4 ++--
 net-libs/libssh/libssh-9999.ebuild      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-libs/libssh/libssh-0.11.1-r2.ebuild 
b/net-libs/libssh/libssh-0.11.1-r2.ebuild
index 3f0e3cafd0e2..5f90601aa33a 100644
--- a/net-libs/libssh/libssh-0.11.1-r2.ebuild
+++ b/net-libs/libssh/libssh-0.11.1-r2.ebuild
@@ -46,7 +46,7 @@ PATCHES=(
 
 src_prepare() {
        # Remove custom find module to use system one
-       rm -fr cmake/Modules/FindMbedTLS.cmake
+       rm cmake/Modules/FindMbedTLS.cmake || die
 
        cmake_src_prepare
 
@@ -96,7 +96,7 @@ multilib_src_configure() {
                -DWITH_GCRYPT=OFF
                -DWITH_GSSAPI=$(usex gssapi)
                -DWITH_MBEDTLS=$(usex mbedtls)
-               -DMBEDTLS_FOUND=$(usex mbedtls) # Enforce variable from custom 
find module
+               -DMBEDTLS_FOUND=$(usex mbedtls) # Enforce variable from custom 
find module
                -DWITH_PCAP=$(usex pcap)
                -DWITH_SERVER=$(usex server)
                -DWITH_SFTP=$(usex sftp)

diff --git a/net-libs/libssh/libssh-9999.ebuild 
b/net-libs/libssh/libssh-9999.ebuild
index 34ef848dd1eb..7d741cff2c57 100644
--- a/net-libs/libssh/libssh-9999.ebuild
+++ b/net-libs/libssh/libssh-9999.ebuild
@@ -41,7 +41,7 @@ DOCS=( AUTHORS CHANGELOG README )
 
 src_prepare() {
        # Remove custom find module to use system one
-       rm -fr cmake/Modules/FindMbedTLS.cmake
+       rm cmake/Modules/FindMbedTLS.cmake || die
 
        cmake_src_prepare
 

Reply via email to