commit:     83d2b410e753ffd63d3be38c75d3c912ee708257
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Fri Oct 17 06:31:33 2025 +0000
Commit:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
CommitDate: Fri Oct 17 06:34:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83d2b410

dev-ml/cmarkit: fix installed files, add subslot

ocamlfind was missing some extra modules like cmarkit_html.mli (and
others).

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>

 dev-ml/cmarkit/cmarkit-0.3.0.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-ml/cmarkit/cmarkit-0.3.0.ebuild 
b/dev-ml/cmarkit/cmarkit-0.3.0.ebuild
index 4b183dcb3f..520dfd143d 100644
--- a/dev-ml/cmarkit/cmarkit-0.3.0.ebuild
+++ b/dev-ml/cmarkit/cmarkit-0.3.0.ebuild
@@ -10,12 +10,12 @@ HOMEPAGE="https://erratique.ch/software/cmarkit";
 SRC_URI="https://github.com/dbuenzli/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
 
 LICENSE="ISC"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="+ocamlopt"
 
 RDEPEND="
-       >=dev-lang/ocaml-4.14.0
+       >=dev-lang/ocaml-4.14.0:=
 "
 DEPEND="${RDEPEND}
        dev-ml/findlib
@@ -34,7 +34,8 @@ src_install() {
        findlib_src_preinst
 
        local nativelibs=""
-       use ocamlopt && nativelibs="$(echo _build/src/${PN}.cm{x,xa,xs,ti} 
_build/src/${PN}.a)"
-       ocamlfind install ${PN} _build/pkg/META _build/src/${PN}.mli 
_build/src/${PN}.cm{a,i} ${nativelibs} || die
+       use ocamlopt && nativelibs="$(echo _build/src/${PN}*.cm{x,xa,xs,ti} 
_build/src/${PN}*.a)"
+
+       ocamlfind install ${PN} _build/pkg/META _build/src/${PN}*.mli 
_build/src/${PN}*.cm{a,i} ${nativelibs} || die
 
 }

Reply via email to