Install this version:
emerge -a =dev-php/pecl-ev-1.2.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-php/pecl-ev-1.2.3
Or alternatively:
emerge --autounmask-write -a =dev-php/pecl-ev-1.2.3
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PHP_EXT_NAME="ev"
USE_PHP="php8-2 php8-3 php8-4 php8-5"
inherit php-ext-pecl-r3
DESCRIPTION="PECL extension providing interface to libev library"
LICENSE="PHP-3.01"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-libs/libev:="
RDEPEND="${DEPEND}"