commit: f045fb4581c873e0a661aea963829cde432bdbdc Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Thu Aug 14 04:02:11 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Thu Aug 14 05:05:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f045fb45
dev-ml/ocaml-augeas: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/959287 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> dev-ml/ocaml-augeas/ocaml-augeas-0.6-r2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-ml/ocaml-augeas/ocaml-augeas-0.6-r2.ebuild b/dev-ml/ocaml-augeas/ocaml-augeas-0.6-r2.ebuild index 25f2b3bbaeaf..9c03e4c31d27 100644 --- a/dev-ml/ocaml-augeas/ocaml-augeas-0.6-r2.ebuild +++ b/dev-ml/ocaml-augeas/ocaml-augeas-0.6-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit findlib +inherit dot-a findlib DESCRIPTION="Ocaml bindings for Augeas" HOMEPAGE="http://augeas.net/" @@ -29,10 +29,16 @@ PATCHES=( "${FILESDIR}"/${P}-ocaml-4.09.patch ) +src_configure() { + lto-guarantee-fat + default +} + src_compile() { emake -j1 } src_install() { findlib_src_install + strip-lto-bytecode }
