Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (19m)  pkgsrc-2024Q1 (11d)  pkgsrc-2023Q4 (58d)  pkgsrc-2023Q2 (90d)  pkgsrc-2023Q3 (169d) 

2024-05-28 16:35:51 UTC Now

2023-11-12 01:15:52 UTC MAIN commitmail json YAML

mk/compiler/gfortran.mk: Clean up version selection

  - Document hwat this file is supposed to do.  Notably, it is not
    intended to select flang.  The purpose is to find and set up for
    gfortran.

  - Only try to match the compiler version if the compiler is gcc.

  - Attempt to document the reasons behind the version choice on Darwin.

  - Try the POSSIBLE_GFORTRAN_VERSION regardless of whether gcc is in
    use - only check if it exists.

Tested on older macOS x86, NetBSD 10 amd64, NetBSD 9 earmv7hf-el to
build math/blas.

(gdt)