dev-lang/ocaml: Bump to version 4.09.0, EAPI 7
authorRalph Seichter <github@seichter.de>
Mon, 16 Dec 2019 01:37:34 +0000 (02:37 +0100)
committerMikle Kolyada <zlogene@gentoo.org>
Fri, 27 Dec 2019 13:39:31 +0000 (16:39 +0300)
commitdf1434388cf449f432d8058f8fa0e9f0202483ab
tree88a7fbc88290158010943a47a5012c4bbf3d5498
parent6a7cf422ce69cab5e7fbd9c2c0301c24980ab190
dev-lang/ocaml: Bump to version 4.09.0, EAPI 7

This new OCaml ebuild uses EAPI 7. As discussed with Zlogenem, multi-
platform support has been removed and the ebuild is now keyworded for
~amd64 only.

Significant time was spent figuring out why the build failed when run
via ebuild, but succeeded when run manually. After I filed an upstream
issue[1] and a subsequent discussion, it turned out that Gentoo's ${P}
variable clashed with the OCaml build, as I had suspected. The line

    P ?= stdlib__

in a Makefile resulted in wrong file paths which in turn broke the
OCaml documentation build. I have asked upstream if their use of the
"?=" operator is deliberate; an answer is pending.

The license in this build has been changed to match [2].

[1] https://github.com/ocaml/ocaml/issues/9189
[2] https://ocaml.org/docs/license.html

Closes: https://bugs.gentoo.org/688108
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Ralph Seichter <gentoo@seichter.de>
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
dev-lang/ocaml/Manifest
dev-lang/ocaml/ocaml-4.09.0.ebuild [new file with mode: 0644]