commit:     125470d3434ca6818aa45e3f256e2912c18a8263
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 18 17:32:33 2018 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Tue Sep 18 19:43:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=125470d3

net-dns/pdns-recursor: EAPI-7

Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild | 10 ++++------
 1 file 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 7e2d4e9bfdb..29926f6c42d 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."

Reply via email to