diff options
author | gerald <gerald@FreeBSD.org> | 2007-01-06 17:46:09 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2007-01-06 17:46:09 +0800 |
commit | 3ebd3916c36c0552694cc313fa097c7a6144c1a6 (patch) | |
tree | 58167017b680ff7930678597989dc50c146f3db1 /Mk | |
parent | 450cc08b52ab5b0d2c242666312ddd32e397e61f (diff) | |
download | freebsd-ports-gnome-3ebd3916c36c0552694cc313fa097c7a6144c1a6.tar.gz freebsd-ports-gnome-3ebd3916c36c0552694cc313fa097c7a6144c1a6.tar.zst freebsd-ports-gnome-3ebd3916c36c0552694cc313fa097c7a6144c1a6.zip |
Make WITH_FORTRAN use lang/gcc42 (which now builds the Fortran frontend by
default) instead of lang/gfortran (which is scheduled for removal).
Reviewed by: thierry, maho
Approved by: portmgr (pav)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gcc.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index c7df7fbdefa6..0100a9eee853 100644 --- a/Mk/bsd.gcc.mk +++ b/Mk/bsd.gcc.mk @@ -133,10 +133,11 @@ _USE_GCC:=${_GCC_FOUND} . if ${_USE_GCC} == ${_GCCVERSION_${v}_V} . if ${OSVERSION} < ${_GCCVERSION_${v}_L} || ${OSVERSION} > ${_GCCVERSION_${v}_R} # If Fortran support is requested, regardless of the value of USE_GCC -# we need to use lang/gfortran, which is based on lang/gcc41 right now. +# we use lang/gcc42 which is the first release which features the new +# Fortran frontend and has Fortran enabled by default. . if defined(WITH_FORTRAN) -V:= 41 -_GCC_BUILD_DEPENDS:= gfortran +V:= 42 +_GCC_BUILD_DEPENDS:= gcc42 _GCC_PORT_DEPENDS:= gfortran${V} .else V:= ${_GCCVERSION_${v}_V:S/.//} |