summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-10-24 17:46:18 +0200
committerDavid Seifert <soap@gentoo.org>2020-10-24 17:46:18 +0200
commita975a368e8d1a84160b770e1fc122b152ac5c1d9 (patch)
tree32be0f89ee51d450ed533e2d8e05a8c14b7b7deb /net-misc/jwhois
parentsci-electronics/fasthenry: Fix ar (diff)
downloadgentoo-a975a368e8d1a84160b770e1fc122b152ac5c1d9.tar.gz
gentoo-a975a368e8d1a84160b770e1fc122b152ac5c1d9.tar.bz2
gentoo-a975a368e8d1a84160b770e1fc122b152ac5c1d9.zip
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@gentoo.org>
Diffstat (limited to 'net-misc/jwhois')
-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 d8bcb3ddb180..7a6fe53d31c8 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)