commit:     6dd29a88ae4851c8725da25cdb09f16b2772f9ac
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 16:16:32 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 09:26:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd29a88

app-crypt/johntheripper: Fix incorrect REPLACING_VERSIONS usage

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

 app-crypt/johntheripper/johntheripper-1.9.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-crypt/johntheripper/johntheripper-1.9.0.ebuild 
b/app-crypt/johntheripper/johntheripper-1.9.0.ebuild
index 158f6df061c2..bca43f8eb9f7 100644
--- a/app-crypt/johntheripper/johntheripper-1.9.0.ebuild
+++ b/app-crypt/johntheripper/johntheripper-1.9.0.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 flag-o-matic toolchain-funcs
+inherit eapi9-ver flag-o-matic toolchain-funcs
 
 MY_PN="john"
 MY_P="${MY_PN}-${PV}"
@@ -131,7 +131,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       if [ -n "${REPLACING_VERSIONS}" ] && [ "${REPLACING_VERSIONS}" != 
"1.8.0" ]; then
+       if ver_replacing -lt 1.8.0; then
                ewarn "This package no longer includes jumbo.  If you want 
jumbo please install app-crypt/johntheripper-jumbo instead."
        fi
 }

Reply via email to