summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-16 22:42:48 +0000
committerSam James <sam@gentoo.org>2020-09-16 22:43:31 +0000
commitfd505a12a41c8be8dfe8be94750295bfed0b339f (patch)
treea2751888d4ac067039380f313d8cd9298f97c495 /app-misc
parentnet-mail/serialmail: cleanup old EAPI 4 (diff)
downloadgentoo-fd505a12a41c8be8dfe8be94750295bfed0b339f.tar.gz
gentoo-fd505a12a41c8be8dfe8be94750295bfed0b339f.tar.bz2
gentoo-fd505a12a41c8be8dfe8be94750295bfed0b339f.zip
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@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/glastree/files/glastree-posix-make.patch4
-rw-r--r--app-misc/glastree/glastree-1.04.ebuild13
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 07e4bf6ec91a..6d0dc395812c 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 892b11bc30aa..f76a7a4dc666 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
}