summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-01 03:32:16 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:44:06 +0100
commitbde3ed6ece66c721b184e3a4776cb6aead0aad8c (patch)
treec58aaecb05e16565659abf0916db612f664fb85d /app-admin
parentapp-admin/killproc: port to EAPI 7 (diff)
downloadgentoo-bde3ed6ece66c721b184e3a4776cb6aead0aad8c.tar.gz
gentoo-bde3ed6ece66c721b184e3a4776cb6aead0aad8c.tar.bz2
gentoo-bde3ed6ece66c721b184e3a4776cb6aead0aad8c.zip
app-admin/logmon: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/logmon/logmon-0.4.4-r1.ebuild22
1 files changed, 13 insertions, 9 deletions
diff --git a/app-admin/logmon/logmon-0.4.4-r1.ebuild b/app-admin/logmon/logmon-0.4.4-r1.ebuild
index f83eab27f8b8..0a500d2d7202 100644
--- a/app-admin/logmon/logmon-0.4.4-r1.ebuild
+++ b/app-admin/logmon/logmon-0.4.4-r1.ebuild
@@ -1,15 +1,14 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=7
-inherit eutils autotools
+inherit autotools
MY_P="LogMon-${PV}"
DESCRIPTION="Split-screen terminal/ncurses based log viewer"
HOMEPAGE="http://www.edespot.com/code/LogMon/"
SRC_URI="http://www.edespot.com/code/LogMon/${MY_P}.tar.bz2"
-
S="${WORKDIR}/${MY_P}"
LICENSE="Artistic"
@@ -19,18 +18,23 @@ KEYWORDS="amd64 ppc ppc64 x86"
DEPEND="sys-libs/ncurses:0="
RDEPEND="${DEPEND}"
-src_prepare() {
+PATCHES=(
# Bug 119403 - should be in upstream next release
- epatch "${FILESDIR}"/${P}-char2int.diff
+ "${FILESDIR}"/${P}-char2int.diff
# Bug 250602, gcc43 fix
- epatch "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-gcc43.patch
# Fixes maintainer-mode detected.
- epatch "${FILESDIR}"/${P}-maintainer-mode.patch
+ "${FILESDIR}"/${P}-maintainer-mode.patch
- epatch "${FILESDIR}"/${P}-tinfo.patch
+ "${FILESDIR}"/${P}-tinfo.patch
+)
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
eautoreconf
}