If you need a fortran compiler, then you should be inheriting this eclass.
In case you only need optional support, please export FORTRAN_NEEDED before
inheriting the eclass.
The eclass tests for working fortran compilers
and exports the variables FC and F77.
Optionally, it checks for extended capabilities based on
the variable options selected in the ebuild
The only phase function exported is fortran-2_pkg_setup.
4 5 6 7
Return the Fortran compiler flag to enable 64 bit integers for
checks for a valid fortran compiler and optionally for its openmp support.
FORTRAN_NEED_OPENMP ?= 0
Set to "1" in order to automatically have the eclass abort if the fortran
compiler lacks openmp support.
FORTRAN_STANDARD ?= 77
Set this, if a special dialect needs to be supported.
Generally not needed as default is sufficient.
Valid settings are any combination of: 77 90 95 2003
FORTRAN_NEEDED ?= always
If your package has an optional fortran support, set this variable
to the space separated list of USE triggering the fortran
e.g. FORTRAN_NEEDED=lapack would result in
DEPEND="lapack? ( virtual/fortran )"
If unset, we always depend on virtual/fortran.
Author Justin Lecher <firstname.lastname@example.org>
Test functions provided by Sebastien Fabbro and Kacper Kowalik