Use ${FC} instead of hard coding gfortran42 (which would need to be
gfortran43 nowadays). Remove F77=${FC} from CONFIGURE_ENV since this provided by Mk/bsd.gcc.mk. Add USE_GCC=4.3 since this port uses both C and Fortran frontends.
This commit is contained in:
parent
fd6055e71c
commit
88f6984ec6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225361
1 changed files with 4 additions and 3 deletions
|
@ -23,10 +23,11 @@ USE_BZIP2= yes
|
|||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= -prefix=${PREFIX}/mpich
|
||||
USE_FORTRAN= yes
|
||||
USE_GCC= 4.3
|
||||
F90FLAGS+= ${FFLAGS}
|
||||
FORTRANLIBDIR= `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``
|
||||
FORTRANLIBDIR2= `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``/../../../
|
||||
CONFIGURE_ENV+= F90=${FC} F90FLAGS=${F90FLAGS} F77=${FC} \
|
||||
FORTRANLIBDIR= `${DIRNAME} \`${FC} -print-libgcc-file-name\``
|
||||
FORTRANLIBDIR2= `${DIRNAME} \`${FC} -print-libgcc-file-name\``/../../../
|
||||
CONFIGURE_ENV+= F90=${FC} F90FLAGS=${F90FLAGS} \
|
||||
LIBS="-L${FORTRANLIBDIR} -L${FORTRANLIBDIR2} -lgfortranbegin -lgfortran -L${LOCALBASE}/lib -lf2c"
|
||||
|
||||
OPTIONS= X11 "Enable MPE graphics" on \
|
||||
|
|
Loading…
Reference in a new issue