1 |
commit: fd505a12a41c8be8dfe8be94750295bfed0b339f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 16 22:42:48 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 22:43:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd505a12 |
7 |
|
8 |
app-misc/glastree: port older to EAPI 7 too |
9 |
|
10 |
Preferable to not wait for stabilisation of the newer one |
11 |
to drop EAPI 4. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/742557 |
14 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
app-misc/glastree/files/glastree-posix-make.patch | 4 ++-- |
18 |
app-misc/glastree/glastree-1.04.ebuild | 13 ++++++------- |
19 |
2 files changed, 8 insertions(+), 9 deletions(-) |
20 |
|
21 |
diff --git a/app-misc/glastree/files/glastree-posix-make.patch b/app-misc/glastree/files/glastree-posix-make.patch |
22 |
index 07e4bf6ec91..6d0dc395812 100644 |
23 |
--- a/app-misc/glastree/files/glastree-posix-make.patch |
24 |
+++ b/app-misc/glastree/files/glastree-posix-make.patch |
25 |
@@ -1,8 +1,8 @@ |
26 |
Make sure the perl code is valid both with and without the backslashes. |
27 |
Some make versions strip them, others don't. |
28 |
|
29 |
---- glastree-1.04/Makefile |
30 |
-+++ glastree-1.04/Makefile |
31 |
+--- a/Makefile |
32 |
++++ b/Makefile |
33 |
@@ -24,8 +24,8 @@ |
34 |
|
35 |
install: |
36 |
|
37 |
diff --git a/app-misc/glastree/glastree-1.04.ebuild b/app-misc/glastree/glastree-1.04.ebuild |
38 |
index 892b11bc30a..f76a7a4dc66 100644 |
39 |
--- a/app-misc/glastree/glastree-1.04.ebuild |
40 |
+++ b/app-misc/glastree/glastree-1.04.ebuild |
41 |
@@ -1,7 +1,7 @@ |
42 |
-# Copyright 1999-2012 Gentoo Foundation |
43 |
+# Copyright 1999-2020 Gentoo Authors |
44 |
# Distributed under the terms of the GNU General Public License v2 |
45 |
|
46 |
-EAPI=4 |
47 |
+EAPI=7 |
48 |
|
49 |
inherit eutils |
50 |
|
51 |
@@ -12,17 +12,16 @@ DEPEND="dev-lang/perl |
52 |
dev-perl/Date-Calc" |
53 |
SLOT="0" |
54 |
KEYWORDS="~amd64 ppc x86" |
55 |
-IUSE="" |
56 |
LICENSE="public-domain" |
57 |
|
58 |
-src_prepare() { |
59 |
- epatch "${FILESDIR}"/${PN}-posix-make.patch |
60 |
-} |
61 |
+PATCHES=( |
62 |
+ "${FILESDIR}"/${PN}-posix-make.patch |
63 |
+) |
64 |
|
65 |
src_compile() { :; } |
66 |
|
67 |
src_install() { |
68 |
dodir /usr/share/man/man1 |
69 |
- emake INSTROOT="${D}"/usr INSTMAN=share/man install |
70 |
+ emake INSTROOT="${ED}"/usr INSTMAN=share/man install |
71 |
dodoc README CHANGES THANKS TODO |
72 |
} |