bsd.gcc.mk: USE_FORTRAN.

Ruslan Mahmatkhanov cvs-src at yandex.ru
Fri Nov 2 19:19:46 UTC 2012


Hi!

Gerald Pfeifer wrote on 02.11.2012 13:26:
> Hi Ruslan,
>
> On Mon, 17 Sep 2012, Ruslan Mahmatkhanov wrote:
>> is there any possibility to also add something like
>> USE_FORTRAN_BUILD=[yes|g77|ifort] to make fortran build dependency
>> only? Many ports will benefit from this - anything, that depend on
>> math/py-numpy for example.
>
> we definitely can look into this.  But, how about the run-time
> dependency?  Those ports that you have in mind, don't they have
> any dependency on one of the GCC run-time libraries?
>
> Gerald

Hmm, you are right... I just deinstalled gcc-4.6.3 and got this when 
calling py-numpy:
ImportError: Shared object "libgfortran.so.3" not found, required by 
"lapack_lite.so".

I think that numpy will run fine w/o gcc, it's a C python extension in 
first place. Maybe that math/lapack dependency may be turned into an 
option.	

PS. And py-game failed to load too because it imports py-numpy. Chromium 
too. But deluge is runs fine w/o gcc, while I can't see where it grap 
this dependency... The same with chromium - it working

Anyway, I think this will be a useful feature, so it worth to implement.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.


More information about the freebsd-ports mailing list