sci-mathematics/coq: fix build with ocaml 4.03

Package-Manager: portage-2.2.28
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
Alexis Ballier
2016-05-01 19:42:45 +02:00
parent 83a1ddd921
commit 7972add23c
2 changed files with 14 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}/${PN}-8.5-do-not-install-revision.patch"
epatch "${FILESDIR}/${PN}-8.4_p5-no-clean-before-test.patch"
has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
}
src_configure() {

View File

@@ -0,0 +1,13 @@
Index: coq-8.5pl1/Makefile.common
===================================================================
--- coq-8.5pl1.orig/Makefile.common
+++ coq-8.5pl1/Makefile.common
@@ -231,7 +231,7 @@ endif
LINKCMO:=$(CORECMA) $(STATICPLUGINS)
LINKCMX:=$(CORECMA:.cma=.cmxa) $(STATICPLUGINS:.cma=.cmxa)
-IDEDEPS:=lib/clib.cma lib/xml_lexer.cmo lib/xml_parser.cmo lib/xml_printer.cmo lib/errors.cmo lib/spawn.cmo
+IDEDEPS:=lib/clib.cma lib/errors.cmo lib/spawn.cmo
IDECMA:=ide/ide.cma
IDETOPLOOPCMA=ide/coqidetop.cma