commit:     a975a368e8d1a84160b770e1fc122b152ac5c1d9
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 24 15:46:18 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 24 15:46:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a975a368

net-misc/jwhois: Port to EAPI 7

Closes: https://bugs.gentoo.org/742134
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-misc/jwhois/jwhois-4.0-r1.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/net-misc/jwhois/jwhois-4.0-r1.ebuild 
b/net-misc/jwhois/jwhois-4.0-r1.ebuild
index d8bcb3ddb18..7a6fe53d31c 100644
--- a/net-misc/jwhois/jwhois-4.0-r1.ebuild
+++ b/net-misc/jwhois/jwhois-4.0-r1.ebuild
@@ -1,9 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="Advanced Internet Whois client capable of recursive queries"
 HOMEPAGE="https://www.gnu.org/software/jwhois/";
@@ -17,13 +15,14 @@ IUSE="idn nls"
 RDEPEND="idn? ( net-dns/libidn )"
 DEPEND="${RDEPEND}"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-connect-logic.patch #208875
-}
+PATCHES=(
+       # bug 208875
+       "${FILESDIR}"/${P}-connect-logic.patch
+)
 
 src_configure() {
        econf \
-               --localstatedir="${EPREFIX}/var/cache" \
+               --localstatedir="${EPREFIX}"/var/cache \
                --without-cache \
                $(use_enable nls) \
                $(use_with idn libidn)

Reply via email to