From 2c41c5401218d64b17f7f3724f3b4a6f5960fe31 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 13 Mar 2021 11:24:33 +0000 Subject: dev-ml/ocaml-gettext: convert to dev-ml/ounit2 for tests Signed-off-by: Sam James --- dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'dev-ml/ocaml-gettext') diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild index 66873aa06efe..7af5b26e0ad4 100644 --- a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild +++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild @@ -36,11 +36,20 @@ RDEPEND=" " DEPEND=" ${RDEPEND} - test? ( dev-ml/ounit ) + test? ( dev-ml/ounit2 ) " src_prepare() { default + + # Porting to dev-ml/ounit2 + sed -i \ + -e 's/OCAMLFIND_CHECK_MODULE(oUnit/OCAMLFIND_CHECK_MODULE(ounit2/' \ + configure.in || die + sed -i \ + -e 's/oUnit/ounit2/' \ + test/Makefile || die + eautoreconf } -- cgit v1.2.3-65-gdbad