Ocaml ports needs love

Gabor Pali pgj at FreeBSD.org
Wed Jul 31 15:51:00 UTC 2013


On Tue, Jul 30, 2013 at 7:45 PM, Michael <michipili at gmail.com> wrote:
> Is it trivial to use the 1.0.0 port to build the version you are
> referring to?

OPAM does not need more just the vanilla OCaml compiler, for example
3.12.1 (that is, installing the current version from lang/ocaml) is
okay.  It can be then used to move to a different compiler version,
using the following command:

$ opam switch 4.00.1

It is because OPAM can also handle many different compiler toolchains.

So, you can just do the following to install it for your user:

$ git clone git://github.com/OCamlPro/opam
$ cd opam
$ ./configure --prefix=$HOME
$ gmake
$ gmake install

> I would like to start using opam on FreeBSD to find out how it could be
> incorporated to ports system.

I guess once the OPAM 1.0.1 is out and the corresponding FreeBSD port
is updated, it will be okay.


More information about the freebsd-ports mailing list