Hi, I split lang ocaml into two subpackages ocaml and ocaml-run. ocaml-run is supposed to contain only the runtime environment. This is the ocamlrun bytecode interpreter and the dlls, totalling 750Kb on amd64. The new port can be found here: https://github.com/jasperla/openbsd-wip/tree/master/lang/ocaml What do you think about the naming scheme?
as you can see in ocaml.port.mk, MODULE+=ocaml adds a RUN_DEPENDS on ocaml-run unconditionally. As I look at other modules like tcl or python, they only define MODPY_RUN_DEPENDS. As of now I only know of one port which would benefit from such a level of indirection. This is math/ppl on openbsd-wip. Now I'm wondering which direction to take while revising all ports depending on ocaml. What about BUILD_DEPENDS. Also use indirection here, or just keep the BUILD_DEPENDS+=lang/ocaml in the ocaml module? Christopher