commit:     5d05c150976fc55d2d1dc70e3d2e068028a553e1
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Apr 28 02:59:50 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 28 04:27:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d05c150

app-text/sword: skip cppcheck tests

cppcheck fails to run :
arg "--template gcc" should be "--template=gcc" in cmake/Findcppcheck.cmake

But we don't really want such tests, so let's skip it.

Closes: https://bugs.gentoo.org/954771
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/41807
Closes: https://github.com/gentoo/gentoo/pull/41807
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/sword/sword-1.9.0-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-text/sword/sword-1.9.0-r2.ebuild 
b/app-text/sword/sword-1.9.0-r2.ebuild
index 8985840bac5e..81801160dee0 100644
--- a/app-text/sword/sword-1.9.0-r2.ebuild
+++ b/app-text/sword/sword-1.9.0-r2.ebuild
@@ -36,6 +36,8 @@ DOCS=( AUTHORS CODINGSTYLE ChangeLog README examples/ 
samples/ )
 
 src_configure() {
        local mycmakeargs=(
+               # skip unnecessary tests, bug #954771
+               -DCMAKE_DISABLE_FIND_PACKAGE_cppcheck="ON"
                -DCMAKE_SKIP_RPATH="ON"
                # default is shared and static
                -DLIBSWORD_LIBRARY_TYPE="Shared"

Reply via email to