commit: 0ef5e16f559db128111fa73e59ce4c74375f9599
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 21 19:14:42 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 19:14:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef5e16f
net-analyzer/isic: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/isic/{isic-0.07-r1.ebuild => isic-0.07-r2.ebuild} | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/net-analyzer/isic/isic-0.07-r1.ebuild
b/net-analyzer/isic/isic-0.07-r2.ebuild
similarity index 90%
rename from net-analyzer/isic/isic-0.07-r1.ebuild
rename to net-analyzer/isic/isic-0.07-r2.ebuild
index ac8c670339b..80946f048cc 100644
--- a/net-analyzer/isic/isic-0.07-r1.ebuild
+++ b/net-analyzer/isic/isic-0.07-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
inherit toolchain-funcs
@@ -16,20 +16,18 @@ KEYWORDS="amd64 ppc x86"
DEPEND="net-libs/libnet:1.1"
RDEPEND="${DEPEND}"
-DOCS=( ChangeLog README )
-
src_prepare() {
+ default
# Add two missing includes
echo "#include <netinet/udp.h>" >> isic.h || die
echo "#include <netinet/tcp.h>" >> isic.h || die
# Install man pages in /usr/share/man
sed -i -e 's|/man/man1|/share&|g' Makefile.in || die
-
- tc-export CC
}
src_configure() {
+ tc-export CC
# Build system does not know about DESTDIR
econf --prefix="${D}/usr" --exec_prefix="${D}/usr"
}