Support compound flags and options for Fortran.

Submitted by:	bf <bf2006a (at) yahoo.com>
This commit is contained in:
Thierry Thomas 2007-12-13 21:14:28 +00:00
parent a7d7f01947
commit 15e86a8ea6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203499

View file

@ -35,14 +35,14 @@ USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-romio --enable-sharedlibs=gcc
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" LDFLAGS="${PTHREAD_LIBS}" F77=${F77} FFLAGS=${FFLAGS}
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" LDFLAGS="${PTHREAD_LIBS}" F77="${F77}" FFLAGS="${FFLAGS}"
FFLAGS?= -O2
NOCCACHE= yes
MAKE_ENV= CCACHE_DISABLE=yes
USE_FORTRAN= yes
F90FLAGS+= ${FFLAGS}
CONFIGURE_ENV+= F90=${FC} F90FLAGS=${F90FLAGS}
CONFIGURE_ENV+= F90="${FC}" F90FLAGS="${F90FLAGS}"
NO_MTREE= yes
USE_LDCONFIG= yes