Skip to content

Commit

Permalink
dev-ml/ocaml-gettext: convert to dev-ml/ounit2 for tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Mar 13, 2021
1 parent 99d99a6 commit 2c41c54
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2c41c54

Please sign in to comment.