mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-analyzer/isic: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user