mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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() {
|
||||
|
||||
13
sci-mathematics/coq/files/oc43.patch
Normal file
13
sci-mathematics/coq/files/oc43.patch
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user