From: Georgy Yakovlev Date: Tue, 31 Dec 2019 06:23:46 +0000 (-0800) Subject: sys-apps/ripgrep: allow building on musl X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=81a7a1b371526581bcc6d5671c8952d5a412ea57;p=gentoo.git sys-apps/ripgrep: allow building on musl Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev --- diff --git a/sys-apps/ripgrep/ripgrep-11.0.2.ebuild b/sys-apps/ripgrep/ripgrep-11.0.2.ebuild index fb7f5349baa8..b01fadb16509 100644 --- a/sys-apps/ripgrep/ripgrep-11.0.2.ebuild +++ b/sys-apps/ripgrep/ripgrep-11.0.2.ebuild @@ -95,6 +95,9 @@ BDEPEND="${RDEPEND} QA_FLAGS_IGNORED="usr/bin/rg" src_compile() { + # allow building on musl with dynamic linking support + # https://github.com/BurntSushi/rust-pcre2/issues/7 + use elibc_musl && export PCRE2_SYS_STATIC=0 cargo_src_compile $(usex pcre "--features pcre2" "") }