Skip to content

Commit

Permalink
dev-ml/js_of_ocaml: add ppx-deriving useflag
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Feb 6, 2016
1 parent 555d214 commit a9075b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt doc +deriving +ppx +react +xml X"
IUSE="+ocamlopt doc +deriving +ppx +ppx-deriving +react +xml X"

DEPEND="
>=dev-lang/ocaml-3.12:=[ocamlopt?,X?]
>=dev-ml/lwt-2.4.4:=
react? ( dev-ml/react:= dev-ml/reactiveData:= )
xml? ( >=dev-ml/tyxml-3.6:= )
ppx? ( dev-ml/ppx_tools:= )
ppx-deriving? ( dev-ml/ppx_deriving:= )
dev-ml/cmdliner:=
dev-ml/menhir:=
dev-ml/ocaml-base64:=
Expand All @@ -37,6 +38,7 @@ src_configure() {
use X || echo "WITH_GRAPHICS := NO" >> Makefile.conf
use react || echo "WITH_REACT := NO" >> Makefile.conf
use ppx || echo "WITH_PPX := NO" >> Makefile.conf
use ppx-deriving || echo "WITH_PPX_PPX_DERIVING := NO" >> Makefile.conf
}

src_compile() {
Expand Down
1 change: 1 addition & 0 deletions dev-ml/js_of_ocaml/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<use>
<flag name="deriving">Enable <pkg>dev-ml/deriving</pkg> support for improving the type safety.</flag>
<flag name="ppx">Enables the ppx syntax extension</flag>
<flag name="ppx-deriving">Enables deriving support through ppx syntax extensions.</flag>
<flag name="react">Enable functionnal reactive programming support.</flag>
</use>
<upstream>
Expand Down

0 comments on commit a9075b5

Please sign in to comment.