1 |
commit: 8265035a266699e593c3fff6179229c6accfff42 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 28 18:29:35 2023 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 28 18:29:58 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8265035a |
7 |
|
8 |
app-misc/jq: Fix version reporting |
9 |
|
10 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
11 |
|
12 |
app-misc/jq/jq-1.7_pre20230210.ebuild | 4 ++++ |
13 |
1 file changed, 4 insertions(+) |
14 |
|
15 |
diff --git a/app-misc/jq/jq-1.7_pre20230210.ebuild b/app-misc/jq/jq-1.7_pre20230210.ebuild |
16 |
index 7620e7467b5b..4143400bc2a8 100644 |
17 |
--- a/app-misc/jq/jq-1.7_pre20230210.ebuild |
18 |
+++ b/app-misc/jq/jq-1.7_pre20230210.ebuild |
19 |
@@ -52,8 +52,12 @@ src_prepare() { |
20 |
# exists; save the cycles by nuking it. |
21 |
sed -e '/modules\/oniguruma/d' -i Makefile.am || die |
22 |
rm -rf "${S}"/modules/oniguruma || die |
23 |
+ sed -i "s/^jq_version: .*/jq_version: \"${PV}\"/" docs/site.yml || die |
24 |
|
25 |
default |
26 |
+ |
27 |
+ sed -i "s/\[jq_version\]/[${PV}]/" configure.ac || die |
28 |
+ |
29 |
eautoreconf |
30 |
} |