diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-02-06 16:06:54 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-02-06 16:07:01 +0100 |
commit | 32799bbc1e56a3f3f05e585f6360291e9ce14e3e (patch) | |
tree | dc0449c8f1a3404fb72b833576ab388ae5d30469 /dev-ml/lwt | |
parent | Merge remote-tracking branch 'remotes/tomboy-64/sigil' (diff) | |
download | gentoo-32799bbc1e56a3f3f05e585f6360291e9ce14e3e.tar.gz gentoo-32799bbc1e56a3f3f05e585f6360291e9ce14e3e.tar.bz2 gentoo-32799bbc1e56a3f3f05e585f6360291e9ce14e3e.zip |
dev-ml/lwt: add ppx useflag and enable it by default since it is recommended on ocaml 4.02+
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/lwt')
-rw-r--r-- | dev-ml/lwt/lwt-2.5.1.ebuild | 5 | ||||
-rw-r--r-- | dev-ml/lwt/metadata.xml | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-ml/lwt/lwt-2.5.1.ebuild b/dev-ml/lwt/lwt-2.5.1.ebuild index ac81e538d517..ac787dd5582d 100644 --- a/dev-ml/lwt/lwt-2.5.1.ebuild +++ b/dev-ml/lwt/lwt-2.5.1.ebuild @@ -14,12 +14,13 @@ DESCRIPTION="Cooperative light-weight thread library for OCaml" SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz" HOMEPAGE="http://ocsigen.org/lwt" -IUSE="gtk +react +ssl" +IUSE="gtk +ppx +react +ssl" DEPEND="react? ( >=dev-ml/react-1.2:= ) dev-libs/libev ssl? ( >=dev-ml/ocaml-ssl-0.4.0:= ) gtk? ( dev-ml/lablgtk:= dev-libs/glib:2 ) + ppx? ( dev-ml/ppx_tools:= ) || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )" RDEPEND="${DEPEND} @@ -36,6 +37,6 @@ src_configure() { $(use_enable react) $(use_enable ssl) --enable-camlp4 - --disable-ppx" \ + $(use_enable ppx)" \ oasis_src_configure } diff --git a/dev-ml/lwt/metadata.xml b/dev-ml/lwt/metadata.xml index d740843ec27b..03beb8a8933a 100644 --- a/dev-ml/lwt/metadata.xml +++ b/dev-ml/lwt/metadata.xml @@ -18,6 +18,7 @@ <name>Proxy Maintainers</name> </maintainer> <use> + <flag name="ppx">Enables the ppx syntax extension</flag> <flag name="react">Enables support for <pkg>dev-ml/react</pkg>: Functional reactive programming (signals, events, etc.).</flag> <flag name="toplevel">Enables enhanced toplevel.</flag> <flag name="text">Enables text mode utilities.</flag> |