summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2018-09-18 17:32:33 +0000
committerSven Wegener <swegener@gentoo.org>2018-09-18 19:43:17 +0000
commit125470d3434ca6818aa45e3f256e2912c18a8263 (patch)
treea890f4f660cbc5ca62a2cc9108341a12cf0fa145 /net-dns
parentnet-dns/pdns-recursor: Cleanup (diff)
downloadgentoo-125470d3434ca6818aa45e3f256e2912c18a8263.tar.gz
gentoo-125470d3434ca6818aa45e3f256e2912c18a8263.tar.bz2
gentoo-125470d3434ca6818aa45e3f256e2912c18a8263.zip
net-dns/pdns-recursor: EAPI-7
Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild
index 7e2d4e9bfdb5..29926f6c42d1 100644
--- a/net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild
+++ b/net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
-inherit toolchain-funcs flag-o-matic eutils versionator
+inherit flag-o-matic
DESCRIPTION="The PowerDNS Recursor"
HOMEPAGE="https://www.powerdns.com/"
@@ -28,8 +28,7 @@ DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
>=dev-libs/boost-1.35:="
RDEPEND="${DEPEND}
!<net-dns/pdns-2.9.20-r1"
-DEPEND="${DEPEND}
- virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${P/_/-}
@@ -69,8 +68,7 @@ pkg_postinst() {
local old
for old in ${REPLACING_VERSIONS}; do
- version_compare ${old} 4.0.0-r1
- [[ $? -eq 1 ]] || continue
+ ver_test ${old} -lt 4.0.0-r1 || continue
ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
ewarn "to pdns-recursor, please update your runlevels accordingly."