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

net-misc/tigervnc: Fix incorrect REPLACING_VERSIONS usage

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

 net-misc/tigervnc/tigervnc-1.15.0.ebuild | 4 ++--
 net-misc/tigervnc/tigervnc-9999.ebuild   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-misc/tigervnc/tigervnc-1.15.0.ebuild 
b/net-misc/tigervnc/tigervnc-1.15.0.ebuild
index ef7fe09fa151..182341e8300f 100644
--- a/net-misc/tigervnc/tigervnc-1.15.0.ebuild
+++ b/net-misc/tigervnc/tigervnc-1.15.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 CMAKE_IN_SOURCE_BUILD=1
-inherit autotools cmake flag-o-matic java-pkg-opt-2 optfeature systemd xdg
+inherit autotools cmake eapi9-ver flag-o-matic java-pkg-opt-2 optfeature 
systemd xdg
 
 XSERVER_VERSION="21.1.15"
 XSERVER_PATCH_VERSION="21"
@@ -216,7 +216,7 @@ src_install() {
 pkg_postinst() {
        xdg_pkg_postinst
 
-       use server && [[ -n ${REPLACING_VERSIONS} ]] && ver_test 
"${REPLACING_VERSIONS}" -lt 1.13.1-r3 && {
+       use server && ver_replacing -lt 1.13.1-r3 && {
                elog 'OpenRC users: please migrate to one service per display 
as documented here:'
                elog 
'https://wiki.gentoo.org/wiki/TigerVNC#Migrating_from_1.13.1-r2_or_lower:'
                elog

diff --git a/net-misc/tigervnc/tigervnc-9999.ebuild 
b/net-misc/tigervnc/tigervnc-9999.ebuild
index e6b48ddae8b5..fc3969c4f12e 100644
--- a/net-misc/tigervnc/tigervnc-9999.ebuild
+++ b/net-misc/tigervnc/tigervnc-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 CMAKE_IN_SOURCE_BUILD=1
-inherit autotools cmake flag-o-matic java-pkg-opt-2 optfeature systemd xdg
+inherit autotools cmake eapi9-ver flag-o-matic java-pkg-opt-2 optfeature 
systemd xdg
 
 XSERVER_VERSION="21.1.14"
 XSERVER_PATCH_VERSION="21"
@@ -215,7 +215,7 @@ src_install() {
 pkg_postinst() {
        xdg_pkg_postinst
 
-       use server && [[ -n ${REPLACING_VERSIONS} ]] && ver_test 
"${REPLACING_VERSIONS}" -lt 1.13.1-r3 && {
+       use server && ver_replacing -lt 1.13.1-r3 && {
                elog 'OpenRC users: please migrate to one service per display 
as documented here:'
                elog 
'https://wiki.gentoo.org/wiki/TigerVNC#Migrating_from_1.13.1-r2_or_lower:'
                elog

Reply via email to