summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild')
-rw-r--r--dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild
index b6e2c219acec..a3fbc4c28994 100644
--- a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild
@@ -16,13 +16,14 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
- >=dev-lang/ocaml-4.02:=[ocamlopt]
+ >=dev-lang/ocaml-4.02:=
>=dev-libs/libffi-3.3_rc0:=
dev-ml/bigarray-compat:=
dev-ml/integers:=
"
DEPEND="${RDEPEND}
test? ( dev-ml/ounit2 dev-ml/lwt )"
+REQUIRED_USE="ocamlopt"
src_prepare() {
sed -e 's/oUnit/ounit2/g' -i Makefile.tests || die