diff options
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.ebuild | 9 |
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 } |