summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild9
1 files changed, 8 insertions, 1 deletions
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
+}