mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
dev-ml/js_of_ocaml: 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:
File diff suppressed because it is too large
Load Diff
@@ -31,6 +31,10 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/ocamlbuild"
|
||||
|
||||
src_prepare() {
|
||||
has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
printf "\n\n" >> Makefile.conf
|
||||
use ocamlopt || echo "BEST := byte" >> Makefile.conf
|
||||
|
||||
Reference in New Issue
Block a user