1 |
commit: 81a7a1b371526581bcc6d5671c8952d5a412ea57 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 31 06:23:46 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 31 06:30:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a7a1b3 |
7 |
|
8 |
sys-apps/ripgrep: allow building on musl |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
sys-apps/ripgrep/ripgrep-11.0.2.ebuild | 3 +++ |
14 |
1 file changed, 3 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/ripgrep/ripgrep-11.0.2.ebuild b/sys-apps/ripgrep/ripgrep-11.0.2.ebuild |
17 |
index fb7f5349baa..b01fadb1650 100644 |
18 |
--- a/sys-apps/ripgrep/ripgrep-11.0.2.ebuild |
19 |
+++ b/sys-apps/ripgrep/ripgrep-11.0.2.ebuild |
20 |
@@ -95,6 +95,9 @@ BDEPEND="${RDEPEND} |
21 |
QA_FLAGS_IGNORED="usr/bin/rg" |
22 |
|
23 |
src_compile() { |
24 |
+ # allow building on musl with dynamic linking support |
25 |
+ # https://github.com/BurntSushi/rust-pcre2/issues/7 |
26 |
+ use elibc_musl && export PCRE2_SYS_STATIC=0 |
27 |
cargo_src_compile $(usex pcre "--features pcre2" "") |
28 |
} |