Skip to content

Commit

Permalink
dev-ml/lwt: add ppx useflag and enable it by default since it is reco…
Browse files Browse the repository at this point in the history
…mmended on ocaml 4.02+

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Feb 6, 2016
1 parent b49d03a commit 32799bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev-ml/lwt/lwt-2.5.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -36,6 +37,6 @@ src_configure() {
$(use_enable react)
$(use_enable ssl)
--enable-camlp4
--disable-ppx" \
$(use_enable ppx)" \
oasis_src_configure
}
1 change: 1 addition & 0 deletions dev-ml/lwt/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 32799bb

Please sign in to comment.