summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/jwhois/jwhois-4.0-r1.ebuild')
-rw-r--r--net-misc/jwhois/jwhois-4.0-r1.ebuild13
1 files 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)