pkgsrc-Users archive

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

Re: g95



On Fri, May 19, 2017 at 04:06:52PM +0100, Jonathan Perkin wrote:
> * On 2017-05-19 at 16:02 BST, Patrick Welche wrote:
> 
> > I just saw:
> > 
> > In file included from /tmp/pkgsrc/lang/g95/work/gcc-4.1.2/gcc/flags.h:26:0,
> >                  from trans.h:30,
> >                  from f95-lang.c:24:
> > ./options.h:3:0: error: unterminated #ifndef
> >  #ifndef OPTIONS_H
> > 
> > 
> > Does this mean that you all use PKGSRC_FORTRAN=gfortran  ?
> 
> Yes :)  g95 hasn't built on SunOS or Darwin for a very very long time.

Time to change compiler/gcc.mk?

# On systems without a Fortran compiler, pull one in if needed.
# The default is g95 as it supports a modern dialect, but it can
# be overridden in mk.conf to use only f2c.
#
PKGSRC_FORTRAN?=g95

(and clang.mk)


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index