1 |
commit: ba14cdbc4b29b13900230de73b449ec36004025c |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 2 00:35:29 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 3 15:54:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba14cdbc |
7 |
|
8 |
net-analyzer/dhcpdump: port to EAPI 7 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
net-analyzer/dhcpdump/dhcpdump-1.8.ebuild | 28 ++++++++++++++-------------- |
13 |
1 file changed, 14 insertions(+), 14 deletions(-) |
14 |
|
15 |
diff --git a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild |
16 |
index f846b315d95..b7647756faa 100644 |
17 |
--- a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild |
18 |
+++ b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild |
19 |
@@ -1,8 +1,9 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
-inherit eutils toolchain-funcs |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit toolchain-funcs |
29 |
|
30 |
DESCRIPTION="DHCP Packet Analyzer/tcpdump postprocessor" |
31 |
HOMEPAGE="https://www.mavetju.org/unix/general.php" |
32 |
@@ -12,20 +13,19 @@ LICENSE="BSD-2" |
33 |
SLOT="0" |
34 |
KEYWORDS="amd64 arm ~mips x86" |
35 |
|
36 |
+# for pod2man |
37 |
+BDEPEND="dev-lang/perl" |
38 |
RDEPEND="net-libs/libpcap" |
39 |
-DEPEND=" |
40 |
- ${RDEPEND} |
41 |
- dev-lang/perl |
42 |
-" |
43 |
- |
44 |
-src_prepare() { |
45 |
- epatch "${FILESDIR}"/${P}-Makefile.patch |
46 |
- epatch "${FILESDIR}"/${P}-debian.patch |
47 |
- epatch "${FILESDIR}"/${P}-endianness.patch |
48 |
-} |
49 |
+DEPEND="${RDEPEND}" |
50 |
+ |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${P}-Makefile.patch |
53 |
+ "${FILESDIR}"/${P}-debian.patch |
54 |
+ "${FILESDIR}"/${P}-endianness.patch |
55 |
+) |
56 |
|
57 |
src_compile() { |
58 |
- emake CC=$(tc-getCC) |
59 |
+ emake CC="$(tc-getCC)" |
60 |
} |
61 |
|
62 |
src_install() { |