dev-ml/facile: build with ocaml-5 too

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2025-03-11 20:07:22 +01:00
parent 73cfa35db4
commit f9390e7bd0
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -19,3 +19,15 @@ RDEPEND=">=dev-lang/ocaml-4:=[ocamlopt?]"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-dune.patch )
src_prepare() {
default
sed -i \
-e "s:Pervasives:Stdlib:g" \
lib/fcl_misc.ml \
lib/fcl_cstr.ml \
lib/fcl_fdArray.ml \
lib/fcl_nonlinear.ml \
lib/fcl_sorting.ml \
|| die
}