summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild b/dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild
index 7b07f7dcd71d..e5341df81d71 100644
--- a/dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild
+++ b/dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild
@@ -14,12 +14,16 @@ SRC_URI="https://github.com/savonet/ocaml-ssl/archive/${PV}.tar.gz -> ${P}.tar.g
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
-IUSE="+ocamlopt"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
-BDEPEND="dev-ml/dune-configurator"
DEPEND="dev-libs/openssl:0=
>=dev-lang/ocaml-3.10:=[ocamlopt?]"
RDEPEND="${DEPEND}"
+BDEPEND="
+ dev-ml/dune-configurator
+ test? ( dev-ml/alcotest )
+"
src_install() {
dune_src_install