commit: 5452ff7ec75d38c1819fbb8175f482e28cc35041 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Sat Feb 6 15:22:43 2016 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Sat Feb 6 15:39:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5452ff7e
dev-ml/js_of_ocaml: Add X useflag Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 4f423b9..3d6298a 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() {
