commit:     89f6c0b8aa1231323f96f55b2dcd9820e614ed7d
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 19 22:42:23 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 22:42:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89f6c0b8

dev-ml/dune-private-libs: fix build

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../dune-private-libs/dune-private-libs-3.0.3.ebuild  | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.0.3.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.0.3.ebuild
index 72007e8814e1..b15fa804ee33 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.0.3.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit dune
+inherit dune multiprocessing
 
 DESCRIPTION="A composable build system for OCaml"
 HOMEPAGE="https://github.com/ocaml/dune";
@@ -18,18 +18,17 @@ RESTRICT="test"
 
 BDEPEND="~dev-ml/dune-${PV}"
 DEPEND="
-       dev-ml/csexp:=[ocamlopt?]
-       dev-ml/findlib:=[ocamlopt?]
-       >=dev-lang/ocaml-4.09:=
+       dev-ml/stdune:=
 "
 RDEPEND="${DEPEND}"
 
-src_prepare() {
-       rm -r "${S}"/test || die
-
-       default
+src_configure() {
+       ./configure \
+               --libdir="$(ocamlc -where)" \
+               --mandir="/usr/share/man" \
+               || die
 }
 
-src_configure() {
-       :
+src_compile() {
+       dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || 
die
 }

Reply via email to