commit: 97d54218311df5ab6a2151b54c33329c95726c70
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 11:15:35 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 15:23:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d54218
dev-ml/ocaml-fileutils: convert to dev-ml/ounit2 for tests
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-ml/ocaml-fileutils/ocaml-fileutils-0.6.2.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dev-ml/ocaml-fileutils/ocaml-fileutils-0.6.2.ebuild
b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.6.2.ebuild
index dee951267de..1afeea13852 100644
--- a/dev-ml/ocaml-fileutils/ocaml-fileutils-0.6.2.ebuild
+++ b/dev-ml/ocaml-fileutils/ocaml-fileutils-0.6.2.ebuild
@@ -22,3 +22,10 @@ DEPEND=">=dev-ml/ounit-2.0.0
DOCS=( "README.md" "CHANGES.md" "LICENSE.txt" )
S="${WORKDIR}/${DUNE_PKG_NAME}-v${PV}"
+
+src_prepare() {
+ default
+
+ # Port to dev-ml/ounit2
+ sed -i -e 's/oUnit/ounit2/' test/dune || die
+}