From 754ec19f3a2e528360f6b0001d6cbfa9cb8abca8 Mon Sep 17 00:00:00 2001 From: gerald Date: Tue, 6 Jan 2009 22:35:16 +0000 Subject: 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. --- net/mpich/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'net') diff --git a/net/mpich/Makefile b/net/mpich/Makefile index acfd75eef99e..d7bee186f527 100644 --- a/net/mpich/Makefile +++ b/net/mpich/Makefile @@ -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 \ -- cgit