commit:     267cb43de5e1a8c5f1d932c8b3c4b993688c8fbc
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 16:16:41 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=267cb43d

games-emulation/higan: Fix incorrect REPLACING_VERSIONS usage

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

 games-emulation/higan/higan-116_pre20210818-r2.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/games-emulation/higan/higan-116_pre20210818-r2.ebuild 
b/games-emulation/higan/higan-116_pre20210818-r2.ebuild
index 79950540ab17..a82c1c6c1f24 100644
--- a/games-emulation/higan/higan-116_pre20210818-r2.ebuild
+++ b/games-emulation/higan/higan-116_pre20210818-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit desktop toolchain-funcs
+inherit desktop eapi9-ver toolchain-funcs
 
 HIGAN_COMMIT="9bf1b3314b2bcc73cbc11d344b369c31562aff10"
 
@@ -111,8 +111,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       if [[ ${REPLACING_VERSIONS} ]] &&
-               ver_test ${REPLACING_VERSIONS} -lt 116_pre20210818; then
+       if ver_replacing -lt 116_pre20210818; then
                elog "On new installs, higan now uses 
~/.local/share/higan/Systems/ rather than"
                elog "~/higan/, and reads Templates from 
${EROOT}/usr/share/higan/ on Gentoo."
                elog "Will need to edit/delete ~/.config/higan/paths.bml for 
this to take effect."

Reply via email to