diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-21 19:45:43 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-21 20:23:01 +0200 |
commit | 9826a380eb37b552dc18dd899b73d43fc8609df3 (patch) | |
tree | fda68881c4e5fe04830bc8619a94ba82a6ac3328 /net-misc | |
parent | net-misc/zsync: Port to EAPI 8 (diff) | |
download | gentoo-9826a380eb37b552dc18dd899b73d43fc8609df3.tar.gz gentoo-9826a380eb37b552dc18dd899b73d43fc8609df3.tar.bz2 gentoo-9826a380eb37b552dc18dd899b73d43fc8609df3.zip |
net-misc/lanmap: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/lanmap/lanmap-81-r3.ebuild (renamed from net-misc/lanmap/lanmap-81-r2.ebuild) | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/net-misc/lanmap/lanmap-81-r2.ebuild b/net-misc/lanmap/lanmap-81-r3.ebuild index eead125ec3f6..d2bb7fd585a4 100644 --- a/net-misc/lanmap/lanmap-81-r2.ebuild +++ b/net-misc/lanmap/lanmap-81-r3.ebuild @@ -1,40 +1,39 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit autotools epatch toolchain-funcs +inherit autotools toolchain-funcs DESCRIPTION="lanmap sits quietly on a network and builds a picture of what it sees" HOMEPAGE="http://www.parseerror.com/lanmap" SRC_URI="http://www.parseerror.com/${PN}/rev/${PN}-2006-03-07-rev${PV}.zip" +S="${WORKDIR}/${PN}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -CDEPEND="net-libs/libpcap" -RDEPEND=" - ${CDEPEND} +DEPEND="net-libs/libpcap" +RDEPEND="${DEPEND} media-gfx/graphviz " -DEPEND=" - ${CDEPEND} - app-arch/unzip -" +BDEPEND="app-arch/unzip" -S=${WORKDIR}/${PN} +PATCHES=( + "${FILESDIR}"/${P}-make.patch + "${FILESDIR}"/${P}-printf-format.patch +) src_prepare() { - epatch \ - "${FILESDIR}"/${P}-make.patch \ - "${FILESDIR}"/${P}-printf-format.patch + default rm configure || die eautoreconf } src_compile() { - emake CC="$(tc-getCC)" + tc-export CC + emake } src_install() { |