Evgeny Roubinchtein wrote: > One annoyance is that well-behaved ports are only supposed to > access network during the "fetch" stage, so one would need to > replicate in the FreeBSD port's Makefile the targets from the > opam source tree that download various things during opam's > build (I think it's mostly things in src_ext). That isn't an > insurmountable obstacle, by any means, but just a bit of work > that needs to be done.
See https://github.com/ocaml/opam/pull/2956/commits/13fdc7e4707d16748b9994cd6299bc259b4dd6da (which is in the process of being merged) and https://github.com/dra27/opam/commit/0f22342962d18aff4da4da0f206fb3a0aa278742 (which will head in a similar direction soon). 13fdc7e gives you make -C src_ext cache-archives which will download all the src_ext tarballs to src_ext/archives If you then explicitly download the ocaml sources tarball to src_ext/archives/, then 0f2234 ensures that make cold uses it HTH, David _______________________________________________ opam-devel mailing list opam-devel@lists.ocaml.org http://lists.ocaml.org/listinfo/opam-devel