summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-03-26 10:02:52 +0100
committerMichał Górny <mgorny@gentoo.org>2024-03-26 11:49:04 +0100
commitba6c5e1f302f053bfc7c143f2b4cc0b5ab3ab575 (patch)
tree47a2f1a7ca59173defc20bb0571316b66ce5a158 /sys-apps
parentnet-im/discord: add 0.0.47, drop 0.0.46 (diff)
downloadgentoo-ba6c5e1f302f053bfc7c143f2b4cc0b5ab3ab575.tar.gz
gentoo-ba6c5e1f302f053bfc7c143f2b4cc0b5ab3ab575.tar.bz2
gentoo-ba6c5e1f302f053bfc7c143f2b4cc0b5ab3ab575.zip
sys-apps/ripgrep: Do not force static linking on musl
Closes: https://bugs.gentoo.org/922372 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/ripgrep/ripgrep-14.1.0.ebuild6
1 files changed, 6 insertions, 0 deletions
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