summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2007-01-06 09:46:09 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2007-01-06 09:46:09 +0000
commit78d0daf10c43cf681a543010ff48fc124d849eef (patch)
treeb0f54e24bc66cae0d717cc8ed70a2804f05bdd50 /Mk
parentDistfile was silently rerolled without content change. (diff)
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)
Notes
Notes: svn path=/head/; revision=181615
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gcc.mk7
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/.//}