commit:     28e4e9291de5ea8b072759e638029b128845f1f0
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 16:16:45 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 07:57:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28e4e929

net-dns/bind: Fix incorrect REPLACING_VERSIONS usage

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 net-dns/bind/bind-9.18.31-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-dns/bind/bind-9.18.31-r1.ebuild 
b/net-dns/bind/bind-9.18.31-r1.ebuild
index f10b1e166977..7a4542ff6000 100644
--- a/net-dns/bind/bind-9.18.31-r1.ebuild
+++ b/net-dns/bind/bind-9.18.31-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit systemd tmpfiles
+inherit eapi9-ver systemd tmpfiles
 
 MY_PV="${PV/_p/-P}"
 MY_PV="${MY_PV/_rc/rc}"
@@ -202,7 +202,7 @@ pkg_postinst() {
        fi
 
        # show only when upgrading to 9.18
-       if [[ -n "${REPLACING_VERSIONS}" ]] && ver_test "${REPLACING_VERSIONS}" 
-lt 9.18; then
+       if ver_replacing -lt 9.18; then
                elog "As this is a major bind version upgrade, please read:"
                elog "   
https://kb.isc.org/docs/changes-to-be-aware-of-when-moving-from-bind-916-to-918";
                elog "for differences in functionality."

Reply via email to