diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-21 21:14:42 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-21 21:14:42 +0200 |
commit | 0ef5e16f559db128111fa73e59ce4c74375f9599 (patch) | |
tree | bda0541c1ed51ddcb450ffb585f123ca31933fb2 /net-analyzer | |
parent | net-analyzer/arptools: Port to EAPI 8 (diff) | |
download | gentoo-0ef5e16f559db128111fa73e59ce4c74375f9599.tar.gz gentoo-0ef5e16f559db128111fa73e59ce4c74375f9599.tar.bz2 gentoo-0ef5e16f559db128111fa73e59ce4c74375f9599.zip |
net-analyzer/isic: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/isic/isic-0.07-r2.ebuild (renamed from net-analyzer/isic/isic-0.07-r1.ebuild) | 10 |
1 files 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 index ac8c670339bd..80946f048cc4 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" } |