mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Make USE_FORTRAN=yes imply the use of GCC 4.6 over GCC 4.5 so far.
Exp-run by: pav Thanks to: pav, bf (for fixing several ports)
This commit is contained in:
parent
80874408d4
commit
8fec0a2dbc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281967
@ -19,7 +19,7 @@
|
||||
# If your port needs a Fortran compiler, please specify that with the
|
||||
# USE_FORTRAN= knob. Here is the list of options for that knob:
|
||||
#
|
||||
# USE_FORTRAN= yes # use gfortran45 (lang/gcc45)
|
||||
# USE_FORTRAN= yes # use gfortran46 (lang/gcc46)
|
||||
# USE_FORTRAN= g77 # use g77-34 (lang/gcc34)
|
||||
# USE_FORTRAN= ifort # use the Intel compiler (lang/ifc)
|
||||
#
|
||||
@ -73,9 +73,9 @@ _GCCVERSION_${v}_V= ${j}
|
||||
|
||||
# The default case, with a current lang/gcc port.
|
||||
. if ${USE_FORTRAN} == yes
|
||||
_USE_GCC:= 4.5
|
||||
FC:= gfortran45
|
||||
F77:= gfortran45
|
||||
_USE_GCC:= 4.6
|
||||
FC:= gfortran46
|
||||
F77:= gfortran46
|
||||
|
||||
# Intel Fortran compiler from lang/ifc.
|
||||
. elif ${USE_FORTRAN} == ifort
|
||||
|
Loading…
Reference in New Issue
Block a user