gentoo-ebuilds/dev-perl/EV/EV-4.340.0.ebuild
Sam James f8a4d78fc0
dev-perl/EV: fix build w/ perl-5.42
Closes: https://bugs.gentoo.org/959141
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-28 04:04:37 +01:00

34 lines
684 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=MLEHMANN
DIST_VERSION=4.34
inherit flag-o-matic perl-module
DESCRIPTION="Perl interface to libev, a high performance full-featured event loop"
LICENSE=" || ( Artistic GPL-1+ ) || ( BSD-2 GPL-2+ )"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 ~riscv x86"
RDEPEND="
dev-perl/common-sense
"
BDEPEND="
${RDEPEND}
dev-perl/Canary-Stability
"
PATCHES=(
"${FILESDIR}"/${PN}-4.34-perl-5.42.patch
)
src_compile() {
# See bug #855869 and its large number of dupes in bundled libev copies.
filter-lto
append-flags -fno-strict-aliasing
perl-module_src_compile
}