1 |
commit: 35a714d90af04df573786ce35f5501ee5e7c11ba |
2 |
Author: Alexey Zapparov <alexey <AT> zapparov <DOT> com> |
3 |
AuthorDate: Sun Jan 2 15:45:32 2022 +0000 |
4 |
Commit: Alexey Zapparov <alexey <AT> zapparov <DOT> com> |
5 |
CommitDate: Sun Jan 2 15:45:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=35a714d9 |
7 |
|
8 |
dev-ruby/ruby-install: fix 0.8.3-r2 |
9 |
|
10 |
Fix Makefile's version to include Gentoo ebuild revision. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/830341 |
13 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
14 |
Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com> |
15 |
|
16 |
...ruby-install-0.8.3-r1.ebuild => ruby-install-0.8.3-r2.ebuild} | 9 ++++++++- |
17 |
1 file changed, 8 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild b/dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild |
20 |
similarity index 81% |
21 |
rename from dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild |
22 |
rename to dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild |
23 |
index 1c97407cc..46ccb1fad 100644 |
24 |
--- a/dev-ruby/ruby-install/ruby-install-0.8.3-r1.ebuild |
25 |
+++ b/dev-ruby/ruby-install/ruby-install-0.8.3-r2.ebuild |
26 |
@@ -1,4 +1,4 @@ |
27 |
-# Copyright 2021 Gentoo Authors |
28 |
+# Copyright 2021-2022 Gentoo Authors |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
|
31 |
EAPI=8 |
32 |
@@ -31,6 +31,13 @@ src_test() { |
33 |
emake test |
34 |
} |
35 |
|
36 |
+src_prepare() { |
37 |
+ default |
38 |
+ |
39 |
+ sed -i Makefile -e "s/^VERSION=.\+$/VERSION=${PVR}/" \ |
40 |
+ || die "Cannot fix doc location to follow Gentoo/FHS guidelines" |
41 |
+} |
42 |
+ |
43 |
src_install() { |
44 |
emake DESTDIR="${D}" PREFIX="/usr" install |
45 |
} |