Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2015 10:42:09 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   Re: Help with porting FreeCAD
Message-ID:  <54ACFF71.10104@netfence.it>
In-Reply-To: <CACdU%2Bf_1CtYVMAc0VwGpNB13xFbDmgEQ6cSSw6Ay9dU_NC2ZBQ@mail.gmail.com>
References:  <54AC5DE0.2030703@netfence.it> <CACdU%2Bf_1CtYVMAc0VwGpNB13xFbDmgEQ6cSSw6Ay9dU_NC2ZBQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/07/15 08:44, Scot Hetzel wrote:

> I had a look at Mk/Uses/fortran.mk, it picks the version of fortran to
> install based on the value found in either Mk/bsd.default-versions.mk
> or the value defined in DEFAULT_VERSIONS. Unfortunately, it doesn't
> have a clean way to specify a specific version.
>
> It looks like you can override the value by setting  GCC_DEFAULT.
>
> USE_GCC= 4.9
> GCC_DEFAULT= 4.9
> USES= fortran:gcc

Thanks, now gfortan49 is picked up.

Strangely, after this I'm getting the same errors I got when using 
gcc48, but that's another problem and I'll investigate.

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54ACFF71.10104>