summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-13 11:24:33 +0000
committerSam James <sam@gentoo.org>2021-03-13 15:23:29 +0000
commit2c41c5401218d64b17f7f3724f3b4a6f5960fe31 (patch)
tree113785827bf432885507cf78e16d3ba8222a3fb1 /dev-ml/ocaml-gettext
parentdev-ml/ocaml-gettext: use BDEPEND in EAPI 7 (diff)
downloadgentoo-2c41c5401218d64b17f7f3724f3b4a6f5960fe31.tar.gz
gentoo-2c41c5401218d64b17f7f3724f3b4a6f5960fe31.tar.bz2
gentoo-2c41c5401218d64b17f7f3724f3b4a6f5960fe31.zip
dev-ml/ocaml-gettext: convert to dev-ml/ounit2 for tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml/ocaml-gettext')
-rw-r--r--dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild11
1 files changed, 10 insertions, 1 deletions
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
}