commit:     f2eaef76b7ec88fabd8a88030f674f8a2547757e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  2 01:58:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 15:55:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2eaef76

net-analyzer/pktstat: EAPI 7, eutils--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild 
b/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
index 38568044a9f..c3266ee8f63 100644
--- a/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
+++ b/net-analyzer/pktstat/pktstat-1.8.5-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# 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 network monitoring tool with bandwidth tracking"
 HOMEPAGE="http://www.adaptive-enterprises.com.au/~d/software/pktstat/";
@@ -12,18 +13,21 @@ LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 
+BDEPEND="virtual/pkgconfig"
 RDEPEND="
        net-libs/libpcap
        >=sys-libs/ncurses-5.3-r1
 "
-DEPEND="
-       ${RDEPEND}
-       virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-tinfo.patch
+       "${FILESDIR}"/${P}-smtp_line.patch
+)
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-tinfo.patch
-       epatch "${FILESDIR}"/${P}-smtp_line.patch
+       default
+
        eautoreconf
 }
 

Reply via email to