View | Details | Raw Unified | Return to bug 266196 | Differences between
and this patch

Collapse All | Expand All

(-)b/Mk/Uses/fortran.mk (+4 lines)
Lines 14-20 fortran_ARGS= ${FORTRAN_DEFAULT} Link Here
14
.  endif
14
.  endif
15
15
16
.  if ${fortran_ARGS} == gfortran
16
.  if ${fortran_ARGS} == gfortran
17
.    if empty(USE_GCC)
17
_GCC_VER=	${GCC_DEFAULT:S/.//}
18
_GCC_VER=	${GCC_DEFAULT:S/.//}
19
.    else
20
_GCC_VER=	${EXP_GCC_VER}
21
.    endif
18
BUILD_DEPENDS+=	gfortran${_GCC_VER}:lang/gcc${_GCC_VER}
22
BUILD_DEPENDS+=	gfortran${_GCC_VER}:lang/gcc${_GCC_VER}
19
RUN_DEPENDS+=	gfortran${_GCC_VER}:lang/gcc${_GCC_VER}
23
RUN_DEPENDS+=	gfortran${_GCC_VER}:lang/gcc${_GCC_VER}
20
F77=		gfortran${_GCC_VER}
24
F77=		gfortran${_GCC_VER}
(-)b/Mk/bsd.gcc.mk (+2 lines)
Lines 87-92 _GCC_FOUND:= ${_USE_GCC} Link Here
87
.    endif
87
.    endif
88
.  endfor
88
.  endfor
89
89
90
EXP_GCC_VER=	${_USE_GCC}
91
90
.  if !defined(_GCCVERSION_OKAY)
92
.  if !defined(_GCCVERSION_OKAY)
91
IGNORE=	Unknown version of GCC specified (USE_GCC=${USE_GCC})
93
IGNORE=	Unknown version of GCC specified (USE_GCC=${USE_GCC})
92
.  endif
94
.  endif

Return to bug 266196