commit: fd505a12a41c8be8dfe8be94750295bfed0b339f Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Sep 16 22:42:48 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Sep 16 22:43:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd505a12
app-misc/glastree: port older to EAPI 7 too Preferable to not wait for stabilisation of the newer one to drop EAPI 4. Bug: https://bugs.gentoo.org/742557 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam <AT> gentoo.org> app-misc/glastree/files/glastree-posix-make.patch | 4 ++-- app-misc/glastree/glastree-1.04.ebuild | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app-misc/glastree/files/glastree-posix-make.patch b/app-misc/glastree/files/glastree-posix-make.patch index 07e4bf6ec91..6d0dc395812 100644 --- a/app-misc/glastree/files/glastree-posix-make.patch +++ b/app-misc/glastree/files/glastree-posix-make.patch @@ -1,8 +1,8 @@ Make sure the perl code is valid both with and without the backslashes. Some make versions strip them, others don't. ---- glastree-1.04/Makefile -+++ glastree-1.04/Makefile +--- a/Makefile ++++ b/Makefile @@ -24,8 +24,8 @@ install: diff --git a/app-misc/glastree/glastree-1.04.ebuild b/app-misc/glastree/glastree-1.04.ebuild index 892b11bc30a..f76a7a4dc66 100644 --- a/app-misc/glastree/glastree-1.04.ebuild +++ b/app-misc/glastree/glastree-1.04.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 inherit eutils @@ -12,17 +12,16 @@ DEPEND="dev-lang/perl dev-perl/Date-Calc" SLOT="0" KEYWORDS="~amd64 ppc x86" -IUSE="" LICENSE="public-domain" -src_prepare() { - epatch "${FILESDIR}"/${PN}-posix-make.patch -} +PATCHES=( + "${FILESDIR}"/${PN}-posix-make.patch +) src_compile() { :; } src_install() { dodir /usr/share/man/man1 - emake INSTROOT="${D}"/usr INSTMAN=share/man install + emake INSTROOT="${ED}"/usr INSTMAN=share/man install dodoc README CHANGES THANKS TODO }