From owner-freebsd-ports@FreeBSD.ORG Wed Jul 31 15:51:00 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3C8B0B30; Wed, 31 Jul 2013 15:51:00 +0000 (UTC) (envelope-from pali.gabor@gmail.com) Received: from mail-oa0-x236.google.com (mail-oa0-x236.google.com [IPv6:2607:f8b0:4003:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EDA4E28F9; Wed, 31 Jul 2013 15:50:59 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id o6so1895013oag.27 for ; Wed, 31 Jul 2013 08:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=hdG4RoC8PLtfus+kINQcqpzI1OrDWSDpKlmobcoZRAg=; b=qO/+uo+pYziU0OlOvd7zHMekPCq4FHrk9Rn3l5ECT18bEtBzDkDDjf9WCVfh8fyhHW yqAfd7GvvI11Ct/r99UvD29iSiyilP/3l9cQNaSqqU3Sj2booawUMlojc6nee1w20wOW /kwoBOp4f3Ir68tZBLScBHx+wNQKGTLAIRJtVOTGi0zBiuSL2tY5nFw7ohPb0tC9Akfh 7KKjL4lJUnJz4h+AZWljQBxx4mjO3Ehwa2V8HxQI3yiUH9ymd+e25QGo8LfpsSiGFQQi Kl4qHjLSCfVpAlzZLsLLGpRBOCUFDXITZpF5d3WVZnBJbohguhHimMN3SwEYgiddzi53 LJMw== MIME-Version: 1.0 X-Received: by 10.182.72.170 with SMTP id e10mr61984885obv.62.1375285859156; Wed, 31 Jul 2013 08:50:59 -0700 (PDT) Sender: pali.gabor@gmail.com Received: by 10.182.245.133 with HTTP; Wed, 31 Jul 2013 08:50:59 -0700 (PDT) In-Reply-To: <51F809D5.80705@gmail.com> References: <20130227132633.GI16178@ithaqua.etoilebsd.net> <51C9E5A4.2060502@gmail.com> <51F51F99.6080502@gmail.com> <51F5226B.4030206@marino.st> <51F809D5.80705@gmail.com> Date: Wed, 31 Jul 2013 16:50:59 +0100 X-Google-Sender-Auth: RMTgtfhq8dypPxYEUTzL9RQmZs8 Message-ID: Subject: Re: Ocaml ports needs love From: Gabor Pali To: Michael Content-Type: text/plain; charset=ISO-8859-1 Cc: marino@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 15:51:00 -0000 On Tue, Jul 30, 2013 at 7:45 PM, Michael 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.