From: Alexis Ballier Date: Sat, 6 Feb 2016 15:22:43 +0000 (+0100) Subject: dev-ml/js_of_ocaml: Add X useflag X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5452ff7ec75d38c1819fbb8175f482e28cc35041;p=gentoo.git dev-ml/js_of_ocaml: Add X useflag Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier --- diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild index 4f423b95e5ec..3d6298a3f2ba 100644 --- a/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild +++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild @@ -13,9 +13,10 @@ 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" +IUSE="+ocamlopt doc +deriving X" -DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?] +DEPEND=" + >=dev-lang/ocaml-3.12:=[ocamlopt?,X?] >=dev-ml/lwt-2.4.4:= dev-ml/react:= dev-ml/reactiveData:= @@ -29,8 +30,11 @@ DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?] RDEPEND="${DEPEND}" src_configure() { + printf "\n\n" >> Makefile.conf use ocamlopt || echo "BEST := byte" >> Makefile.conf + use ocamlopt || echo "NATDYNLINK := NO" >> Makefile.conf use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf + use X || echo "WITH_GRAPHICS := NO" >> Makefile.conf } src_compile() {