commit:     5b0573669408fbd1ff2350b90fd8dc6ce68d4fe0
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  1 19:16:07 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Oct  1 19:16:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b057366

dev-ml/ounit2: build with ocaml-4.12

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/ounit2/ounit2-2.2.3.ebuild | 4 ++++
 dev-ml/ounit2/ounit2-2.2.4.ebuild | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/dev-ml/ounit2/ounit2-2.2.3.ebuild 
b/dev-ml/ounit2/ounit2-2.2.3.ebuild
index 40be073255c..b53206f8e38 100644
--- a/dev-ml/ounit2/ounit2-2.2.3.ebuild
+++ b/dev-ml/ounit2/ounit2-2.2.3.ebuild
@@ -20,3 +20,7 @@ BDEPEND=""
 IUSE="+ocamlopt"
 
 S="${WORKDIR}/ounit-v${PV}"
+
+src_compile() {
+       dune build @install --profile release || die
+}

diff --git a/dev-ml/ounit2/ounit2-2.2.4.ebuild 
b/dev-ml/ounit2/ounit2-2.2.4.ebuild
index b67e4a2fd51..967a9daf84d 100644
--- a/dev-ml/ounit2/ounit2-2.2.4.ebuild
+++ b/dev-ml/ounit2/ounit2-2.2.4.ebuild
@@ -20,3 +20,7 @@ DEPEND="
        dev-ml/stdlib-shims:=
 "
 RDEPEND="${DEPEND}"
+
+src_compile() {
+       dune build @install --profile release || die
+}

Reply via email to