pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc NetBSD 5.0_STABLE/x86_64 2010-03-20 16:37

On Wed, Mar 24, 2010 at 08:05:04PM -0400, Dan McMahill wrote:
> >cad/tnt-mmtl                       
> build log has gcc complaining that fortran is not installed.  Yet
> USE_LANGUAGES has fortran in it.  Also the configure log shows the
> fortran compiler being detected.  I'm not sure what's going wrong
> here.

It is a misfeature of cpp(1). If GCC was compiled without Fortran
support (like on NetBSD 5.0), cpp rejects *.F files. A workaround is
forcing C mode with by adding "-x c" to CPPFLAGS in
/usr/pkg/bin/f2c-f77. I am not sure yet if that breaks anything.
Shall we get an opinion from the f2c maintainer? *g*


Home | Main Index | Thread Index | Old Index