commit:     7aaacd9cd5630a2603f84466954424058fbb9f28
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 16:16:44 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 15:51:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aaacd9c

media-libs/libv4l: Fix incorrect REPLACING_VERSIONS usage

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

 media-libs/libv4l/libv4l-1.28.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/libv4l/libv4l-1.28.1.ebuild 
b/media-libs/libv4l/libv4l-1.28.1.ebuild
index f304fa3cbd8a..83f0046abb39 100644
--- a/media-libs/libv4l/libv4l-1.28.1.ebuild
+++ b/media-libs/libv4l/libv4l-1.28.1.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 linux-info meson-multilib systemd udev xdg
+inherit eapi9-ver linux-info meson-multilib systemd udev xdg
 
 MY_P="v4l-utils-${PV}"
 
@@ -128,7 +128,7 @@ pkg_postinst() {
        xdg_pkg_postinst
        use utils && udev_reload
 
-       if use utils && [[ -n ${REPLACING_VERSIONS} ]] && ver_test 1.20.0 -ge 
${REPLACING_VERSIONS%% *}; then
+       if use utils && ver_replacing -lt 1.20.0; then
                ewarn "WARNING! ir-keytable has changed significantly from 
version 1.20.0 so"
                ewarn "you may need to take action to avoid breakage. See"
                ewarn "https://bugs.gentoo.org/767175 for more details."

Reply via email to