summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
commit5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch)
tree66e860a5099bcad013f1cf667255dc372a7c11b3 /dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild
parent7218e1b46bceac05841e90472501742d905fb3fc (diff)
gentoo resync : 20.03.2021
Diffstat (limited to 'dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild')
-rw-r--r--dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild
index 62186a50ccd8..640af1cd5c11 100644
--- a/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild
+++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild
@@ -28,9 +28,16 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
- test? ( dev-ml/ounit[ocamlopt=] )
+ test? ( 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
+}
+
src_install() {
dune_src_install
}