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:
Alexis Ballier
2016-05-03 11:13:52 +02:00
parent dbd3dc88c9
commit fde940cd10
2 changed files with 1422 additions and 0 deletions
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