summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-03 19:36:05 +0100
committerSam James <sam@gentoo.org>2021-04-03 19:59:06 +0100
commit7e461c03fe44a6aab7752c455f75e1132d018c83 (patch)
tree462d4e88fe7bfa0abf1f762c23e6d229807f149d /net-analyzer/sinfo
parentnet-analyzer/pinger: eutils->epatch (diff)
downloadgentoo-7e461c03fe44a6aab7752c455f75e1132d018c83.tar.gz
gentoo-7e461c03fe44a6aab7752c455f75e1132d018c83.tar.bz2
gentoo-7e461c03fe44a6aab7752c455f75e1132d018c83.zip
net-analyzer/sinfo: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/sinfo')
-rw-r--r--net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild (renamed from net-analyzer/sinfo/sinfo-0.0.48.ebuild)22
1 files changed, 13 insertions, 9 deletions
diff --git a/net-analyzer/sinfo/sinfo-0.0.48.ebuild b/net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild
index 441f23d854dd..ebc65efd14bf 100644
--- a/net-analyzer/sinfo/sinfo-0.0.48.ebuild
+++ b/net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils
+EAPI=7
+
+inherit autotools
DESCRIPTION="A monitoring tool for networked computers"
HOMEPAGE="http://www.ant.uni-bremen.de/whomes/rinas/sinfo/"
@@ -18,15 +19,18 @@ RDEPEND="
dev-libs/boost
sys-libs/ncurses:=
"
-DEPEND="
- ${RDEPEND}
- virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.0.47-tinfo.patch
+ "${FILESDIR}"/${P}-gcc6.patch
+)
src_prepare() {
+ default
+
cp "${FILESDIR}"/${P}-acinclude.m4 acinclude.m4 || die
- epatch "${FILESDIR}"/${PN}-0.0.47-tinfo.patch
- epatch "${FILESDIR}"/${P}-gcc6.patch
eautoreconf
}