GNAT and LAPACK

freebsd-ports at coreland.ath.cx freebsd-ports at coreland.ath.cx
Fri Jan 8 11:08:03 UTC 2010


On 2010-01-08 00:09:57, Gerald Pfeifer wrote:
> 
> I looked into the situation and think the following should work nicely 
> given the constraints of the FreeBSD Ports Collection in handling 
> dependencies and creating several packages from one build:
> 
>  1. Make gnat-gcc44 dependent on gcc44 itself by means of USE_GCC=4.4.
>  2. Have math/lapack as another dependency to gnat-gcc44.
>  3. Build the minimum necessary as part of gnat-gcc44.  Do not install
>     using `make install`, but copy the relevant files to $PREFIX/bin,
>     $PREFIX/lib,... manually.
> 
> That way the Ports Collection as such will use gcc44 and you will add
> the GNAT support from gnat-gcc44 (and only that) on top.

I agree, this sounds much better. It's not clear to me, however, how to
determine which parts of a given GNAT build are specific to GNAT so
that I only install those.

Any ideas?

I'm currently looking at the output of pkg_info -Lx to try to make
an educated guess...

M


More information about the freebsd-ports mailing list