From 96c6dbe2c79f0cb60a234636f04a605b86f908fb Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 13 Mar 2021 11:30:07 +0000 Subject: dev-ml/ocaml-gettext-stub: convert to dev-ml/ounit2 for tests Signed-off-by: Sam James --- dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild') diff --git a/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild b/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild index c47570d78116..3d79cb05c000 100644 --- a/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild +++ b/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild @@ -33,6 +33,13 @@ DEPEND=" ${RDEPEND} test? ( dev-ml/ocaml-fileutils - dev-ml/ounit[ocamlopt=] + dev-ml/ounit2[ocamlopt=] ) " + +src_prepare() { + default + + # Port to dev-ml/ounit2 + sed -i -e 's/oUnit/ounit2/' test/{,common,test-camomile,test-stub}/dune || die +} -- cgit v1.2.3-65-gdbad