commit:     be25d063594dac8c9636cc57e85965d3a1f45427
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 29 18:59:43 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Nov 29 18:59:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be25d063

net-analyzer/ipcad: Port to EAPI 8

Closes: https://bugs.gentoo.org/826822
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 net-analyzer/ipcad/ipcad-3.7.3.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/ipcad/ipcad-3.7.3.ebuild 
b/net-analyzer/ipcad/ipcad-3.7.3.ebuild
index bc87f905d363..7c8d36c02083 100644
--- a/net-analyzer/ipcad/ipcad-3.7.3.ebuild
+++ b/net-analyzer/ipcad/ipcad-3.7.3.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
-inherit autotools epatch
+inherit autotools
 
 DESCRIPTION="IP Cisco Accounting Daemon"
 HOMEPAGE="https://sourceforge.net/projects/ipcad/ http://lionet.info/ipcad/";
@@ -19,11 +19,14 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-3.7-linux-2.6.27.patch
+       "${FILESDIR}"/${PN}-3.7-linux-2.6.35.patch
+       "${FILESDIR}"/${P}-signal_h.patch
+)
+
 src_prepare() {
-       epatch \
-               "${FILESDIR}"/${PN}-3.7-linux-2.6.27.patch \
-               "${FILESDIR}"/${PN}-3.7-linux-2.6.35.patch \
-               "${FILESDIR}"/${P}-signal_h.patch
+       default
 
        sed -i \
                -e "s|^chroot = /adm/tmp;|chroot = /var/ipcad;|" \

Reply via email to