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

games-fps/quakeforge: Fix incorrect REPLACING_VERSIONS usage

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

 games-fps/quakeforge/quakeforge-0.7.2_p20210722-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-fps/quakeforge/quakeforge-0.7.2_p20210722-r2.ebuild 
b/games-fps/quakeforge/quakeforge-0.7.2_p20210722-r2.ebuild
index 49370b798b8c..fb6e30a90194 100644
--- a/games-fps/quakeforge/quakeforge-0.7.2_p20210722-r2.ebuild
+++ b/games-fps/quakeforge/quakeforge-0.7.2_p20210722-r2.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 autotools flag-o-matic readme.gentoo-r1 toolchain-funcs
+inherit autotools eapi9-ver flag-o-matic readme.gentoo-r1 toolchain-funcs
 
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
@@ -151,7 +151,7 @@ Audio/Video notes:
 pkg_postinst() {
        readme.gentoo_print_elog
 
-       if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -le 
0.7.2-r1; then
+       if ver_replacing -le 0.7.2-r1; then
                elog "Migration may be needed for ${PN}'s home paths, now 
using:"
                elog "    ~/.${PN}rc -> ~/.config/${PN}/${PN}.conf"
                elog "    ~/.${PN}/  -> ~/.local/share/${PN}/"

Reply via email to