summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/dhcpdump/dhcpdump-1.8.ebuild')
-rw-r--r--net-analyzer/dhcpdump/dhcpdump-1.8.ebuild28
1 files changed, 14 insertions, 14 deletions
diff --git a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild
index f846b315d95e..b7647756faa3 100644
--- a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild
+++ b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="DHCP Packet Analyzer/tcpdump postprocessor"
HOMEPAGE="https://www.mavetju.org/unix/general.php"
@@ -12,20 +13,19 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 arm ~mips x86"
+# for pod2man
+BDEPEND="dev-lang/perl"
RDEPEND="net-libs/libpcap"
-DEPEND="
- ${RDEPEND}
- dev-lang/perl
-"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-Makefile.patch
- epatch "${FILESDIR}"/${P}-debian.patch
- epatch "${FILESDIR}"/${P}-endianness.patch
-}
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-Makefile.patch
+ "${FILESDIR}"/${P}-debian.patch
+ "${FILESDIR}"/${P}-endianness.patch
+)
src_compile() {
- emake CC=$(tc-getCC)
+ emake CC="$(tc-getCC)"
}
src_install() {