diff options
author | Sam James <sam@gentoo.org> | 2021-04-02 01:54:16 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-03 16:55:18 +0100 |
commit | 4e6c59b9fbc7bac2d6b6525d4b0bbea0992db7a2 (patch) | |
tree | f72d2725edc45e813f8e05ed0d252050ff9d1b05 /net-analyzer/tcptrack | |
parent | net-analyzer/tcpslice: flag-o-matic--, eautoREconf (diff) | |
download | gentoo-4e6c59b9fbc7bac2d6b6525d4b0bbea0992db7a2.tar.gz gentoo-4e6c59b9fbc7bac2d6b6525d4b0bbea0992db7a2.tar.bz2 gentoo-4e6c59b9fbc7bac2d6b6525d4b0bbea0992db7a2.zip |
net-analyzer/tcptrack: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/tcptrack')
-rw-r--r-- | net-analyzer/tcptrack/tcptrack-1.4.2.ebuild | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild b/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild index 235ac5dff8d2..30fbb10604a6 100644 --- a/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild +++ b/net-analyzer/tcptrack/tcptrack-1.4.2.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="Passive per-connection tcp bandwidth monitor" HOMEPAGE="http://www.rhythm.cx/~steve/devel/tcptrack/" @@ -12,17 +13,23 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~ppc x86" +BDEPEND="virtual/pkgconfig" DEPEND=" net-libs/libpcap sys-libs/ncurses " -RDEPEND=" - ${DEPEND} - virtual/pkgconfig -" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-tinfo.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-tinfo.patch + default + sed -i src/Makefile.am -e 's| -Werror||g' || die + + mv configure.{in,ac} || die + eautoreconf } |