- update to 4.07.1[WIP]
- return to the pool; the port is clearly abandoned
- update 35+ ocaml-* ports - HERE
- test against an unkown number of ports; probably 100+
- Mikaël Urankar <firstname.lastname@example.org>
The port build fine; however there are a bunch of errors and tons of warnings during the building process.
Upstream recomends GCC (not tested yet):
The GNU C Compiler (gcc) is recommended, as the bytecode interpreter takes advantage of GCC-specific features to enhance performance. gcc is the standard compiler under Linux, OS X, and many other systems.
Add patch brought by @mikael.urankar_gmail.com :
tested on armv6, armv7, aarch64, ppc64 (I put the glue code for powerpc but I can't test it).
As ARMv7 needs binutils I start wondering again if that would not be better to switch to GCC (as advised by upstream).
@linimon would you mind to test it on ARMs and POWERs with USE_GCC=yes?
Thank you. :-)
-nox11 should be removed and converted by using FLAVOR.
I hate to say this but I highly recommend you to work on this using github or similar because the final version of the patchset will be too long to review. My last attempt to update OCaml and related software in PR 182918 involved 100 ports and >12000 lines in the diff delta. It is old but not completely obsolete. Especially please consider to adopt migration from Mk/bsd.ocaml.mk to Mk/Uses/ocaml.mk in the patchset or update bsd.ocaml.mk to include OCaml toolchains from the first place. Uses/ocaml.mk is to maintain consistency of build/runtime dependencies and to avoid manual addition of something like "BUILD_DEPENDS=ocamlbuild:devel/ocaml-ocamlbuild" into Makefile, which makes difficult to maintain the port.
I was willing to do that using the new ocaml.mk but I wasn't sure how compatible the final version would be with the actual prototype, and so I decided to work using the old (to get the things working), and later move to the new Mk when thta was done. About moving to somewhere I was indeed thinking about the same.
I've updated the revision summary to include the GitHub address I will be working with the OCaml ports.
I will keep updating OCaml itself in here from time-to-time since this is the main thing, and for better internal visibility.
 currently it was no changes over the FreeBSD official ports tree but I will move the present changes to there ASAP.
You should probably add a DOCS_DISTFILES with the doc distfiles so that people who don't want the docs don't have to download them.
That is a bit strange to only set the X11 options helpers if you are not in the nox11 flavor (see the multiple negatives in there, FLAVOR:Mdefault would probably be more straightforward.) and then if you're in the nox11 case, you exclude the X11 option, but the X11 option does nothing as no helpers are defined, for example, -no-graph is never added to CONFIGURE_ARGS.
This should probably simply be do-test:.
This is about the generated binaries by the compiler, and not the compiler it self.
Eg. GCC-GNAT and Adacore-GNAT (free version)
They are the exactly same compiler but with 9 months delta, being the Adacore on the newer.
a few things to be considered to be added/fixed to/in ocaml.mk: