Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2013 16:50:59 +0100
From:      Gabor Pali <pgj@FreeBSD.org>
To:        Michael <michipili@gmail.com>
Cc:        marino@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: Ocaml ports needs love
Message-ID:  <CAHnG2CwCC6CX60%2BQYnG18v8JPvy=wkUEbUMjY9rKnciqm6Y1Tg@mail.gmail.com>
In-Reply-To: <51F809D5.80705@gmail.com>
References:  <CAGFTUwMu9uEX9JxAqZTD7KUNAVqxXZUkjP1S6mn8HV6RVGh4UA@mail.gmail.com> <20130227132633.GI16178@ithaqua.etoilebsd.net> <51C9E5A4.2060502@gmail.com> <CAHnG2Cwv5s4f4e1yVYPb8iwjOOpkVcYqhqzFhQW_v%2BhmW8ELAQ@mail.gmail.com> <51F51F99.6080502@gmail.com> <51F5226B.4030206@marino.st> <CAHnG2CwTwPnTd8YujkxXsXoxR2%2B5HNq-q24GSNPVUC2et_Bf2Q@mail.gmail.com> <51F809D5.80705@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 30, 2013 at 7:45 PM, Michael <michipili@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHnG2CwCC6CX60%2BQYnG18v8JPvy=wkUEbUMjY9rKnciqm6Y1Tg>