summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-11-19 23:42:23 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-11-19 23:42:23 +0100
commit89f6c0b8aa1231323f96f55b2dcd9820e614ed7d (patch)
tree197c9d17b731cf0f7a8524ec14e048fccafcadf8 /dev-ml
parentdev-ml/stdune: new package, add 3.0.3 (diff)
downloadgentoo-89f6c0b8aa1231323f96f55b2dcd9820e614ed7d.tar.gz
gentoo-89f6c0b8aa1231323f96f55b2dcd9820e614ed7d.tar.bz2
gentoo-89f6c0b8aa1231323f96f55b2dcd9820e614ed7d.zip
dev-ml/dune-private-libs: fix build
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/dune-private-libs/dune-private-libs-3.0.3.ebuild19
1 files 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
}