The maintainer patch worked out of the box, but it came from a time
before staging. Significant rework was necessary to provide stage
support, but luckily Jaap already added this support for the pkgsrc
version he maintains (also at devel/ocaml-react over there).
PR: ports/176057
Submitted by: maintainer (Jaap Boender)
Stage support: Taken from pkgsrc
Ocaml 4.00 can't build ocaml-images 3.0.1, so the solution is to update
the package to a newer version. This arrived from dports, but it has
been heavily modified since then. It has also been staged. The
pkg-plist needs work because it doesn't support all the options if they
are turned off. GTK2 has been left OFF by default since it pulls in
136 packages when enabled.
The Ocaml framework did not support staging at the time, so several
knobs were turned off, especially the "WASH" function which disrupted pkg
greatly. The options were cleaned up in a modern way too. An additional
patch was addded to make clang happy so this builds on FreeBSD 10 inside
poudriere.
Urged by: portmgr(bapt)
Two dozen patches were brought in from NetBSD via dports , and this port
was staged too. Most of the patches are upstream fixes as Omake has been
updated in repo but without a new release. In any case an update was
required because it broke after Ocaml was updated to version 4.00.
Urged by: portmgr (bapt)
There have been manual outstanding PRs on OCAML that have dragged on
for well more than a year. In the meantime, FreeBSD has been painfully
stucking on version 3.12 of Ocaml. Meanwhile, DragonFly's dports have
been maintaining version 4.00.
With a "Just do it" attitude, the dports version of Ocaml has been brought
in. This doesn't have stage support, nor is the the latest version
available. The idea is just get a working base Ocaml 4.00 in ports and
then have the maintainer update the appropriate PRs.
As a consequence, updates to omake, ocaml-findlib, and ocaml-images is
also required and upcoming.
Urged by: portmgr (bapt)
Related PR: ports/173364
Related PR: ports/173453
- Add license (GPLv2)
- Use the new format for LIB_DEPENDS
- Comply with OptionsNG
- Use PLIST_FILES instead of pkg-plist
- Support STAGEDIR
- Simplify DOCS installation handling and add Option
- Add OPTIONS_SINGLE=VIDEO-FORMAT and NTSC, PAL SINGLE Options,
and REINPLACE
- Use files/makefile instead of files/patch-makefile and REINPLACE
- Add REINPLACE instead of simple patch
PR: ports/179154
Submitted by: nemysis (self)
- Make extra patch for >= 8.x into a normal patch as it's used on all supported
FreeBSD versions
PR: ports/187320
Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru>
Approved by: wg (mentor)