pkgsrc-Users archive

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

Re: Using native gfortran on linux




To: Mark Davies <mark%some.addr.nz@localhost>

Subject: Re: Using native gfortran on linux

From: Tobias Nygren <tnn%NetBSD.org@localhost>

Date: Tue, 27 Jan 2026 17:52:29 +0100


On Wed, 21 Jan 2026 14:13:54 +1300
Mark Davies <mark%some.addr.nz@localhost> wrote:

> 
> 
> On 21/01/2026 14:02, Mark Davies wrote:
> > On 21/01/2026 13:48, Mark Davies wrote:
> >> How am I supposed to specify using the native compiler now?
> > 
> > I presume a similar issue will strike with the recently introduced 
> > gfortran in NetBSD-current.
> 
> OK, a quick hack to restore the old functionality is to also set
> 
> _USE_GFORTRAN=NO
> 
> in /etc/mk.conf

I think you can also set IGNORE_GFORTRAN=yes which seems
better than using underscored variables but I'm not sure
what the difference is for practical purposes.

Fortran is not a rapidly evolving language so I think it
would be nice if pkgsrc could just assume that any gfortran
found in PATH or at least /usr/bin is viable if the user
didn't put any customisations in mk.conf.

-Tobias


Follow-Ups:

Re: Using native gfortran on linux
From: Thomas Klausner


References:

Using native gfortran on linux
From: Mark Davies

Re: Using native gfortran on linux
From: Mark Davies

Re: Using native gfortran on linux
From: Mark Davies




Prev by Date: Re: Using native gfortran on linux

Next by Date: Re: python313 dependency mismatch?

Previous by Thread: Re: Using native gfortran on linux

Next by Thread: Re: Using native gfortran on linux

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index