commit: cf40b4c4dbdd499bd3c88c3fbf6119dd2519d00b Author: Stephen Reaves <reaves735 <AT> gmail <DOT> com> AuthorDate: Tue Mar 25 23:15:20 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 28 19:47:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf40b4c4
dev-vcs/git: Use emesonargs instead of sed to disable coccinelle Bug: https://bugs.gentoo.org/952004 Signed-off-by: Stephen Reaves <reaves735 <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/41296 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-vcs/git/git-2.49.0-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-vcs/git/git-2.49.0-r1.ebuild b/dev-vcs/git/git-2.49.0-r1.ebuild index 47eece354ef0..386116e4e078 100644 --- a/dev-vcs/git/git-2.49.0-r1.ebuild +++ b/dev-vcs/git/git-2.49.0-r1.ebuild @@ -257,7 +257,9 @@ src_configure() { # otherwise. # # Fixes https://bugs.gentoo.org/952004 - sed -i "s/subdir('coccinelle')/# subdir('coccinelle')/" "${WORKDIR}/git-${PV}/contrib/meson.build" || die + emesonargs+=( + -Dcoccinelle=disabled + ) fi meson_src_configure
