commit:     ba6c5e1f302f053bfc7c143f2b4cc0b5ab3ab575
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 09:02:52 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 10:49:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba6c5e1f

sys-apps/ripgrep: Do not force static linking on musl

Closes: https://bugs.gentoo.org/922372
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-apps/ripgrep/ripgrep-14.1.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys-apps/ripgrep/ripgrep-14.1.0.ebuild 
b/sys-apps/ripgrep/ripgrep-14.1.0.ebuild
index 2d41fa4ab080..97d8367a346e 100644
--- a/sys-apps/ripgrep/ripgrep-14.1.0.ebuild
+++ b/sys-apps/ripgrep/ripgrep-14.1.0.ebuild
@@ -81,6 +81,12 @@ BDEPEND="
 
 QA_FLAGS_IGNORED="usr/bin/rg"
 
+src_prepare() {
+       default
+       # unforce static linking on musl
+       rm .cargo/config.toml || die
+}
+
 src_configure() {
        # allow building on musl with dynamic linking support
        # https://github.com/BurntSushi/rust-pcre2/issues/7

Reply via email to