/usr/share/mk/sys.mk and FORTRAN on -CURRENT

Garrett Cooper youshi10 at u.washington.edu
Mon Jun 4 08:48:03 UTC 2007

Steve Kargl wrote:
> On Sun, Jun 03, 2007 at 04:47:33PM -0700, Don Lewis wrote:
>> I was taking a look at why math/lapack fails to build on -CURRENT and
>> discovered that the port uses ${FC} to find the FORTRAN compiler.  I
>> then discovered that /usr/share/mk/sys.mk defines ${FC} as f77 (or
>> fort77).  I don't this is appropriate since f77 has been removed from
>> I don't know what the proper fix is, but I though I should point out the
>> problem ...
> There are two bugs here. 1) FC should be removed.  2) The
> various ports that use Fortran should use gfortran42
> installed with lang/gcc42.  
Not only that. f77 in gcc-4.2 has some bugs that are waiting to be 
worked out in 4.2.1, so that may be a part of the issue as well.

More information about the freebsd-current mailing list