From 81a7a1b371526581bcc6d5671c8952d5a412ea57 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Mon, 30 Dec 2019 22:23:46 -0800 Subject: [PATCH] sys-apps/ripgrep: allow building on musl Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev --- sys-apps/ripgrep/ripgrep-11.0.2.ebuild | 3 +++ 1 file changed, 3 insertions(+) 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" "") } -- 2.26.2