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

Collapse All | Expand All

(-)Mk/Uses/fortran.mk (-4 / +4 lines)
Lines 31-40 Link Here
31
RUN_DEPENDS+=	gfortran${_GCC_VER}:lang/gcc${_GCC_VER}
31
RUN_DEPENDS+=	gfortran${_GCC_VER}:lang/gcc${_GCC_VER}
32
F77=		gfortran${_GCC_VER}
32
F77=		gfortran${_GCC_VER}
33
FC=		gfortran${_GCC_VER}
33
FC=		gfortran${_GCC_VER}
34
FFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
34
_GCC_RUNTIME:=	${LOCALBASE}/lib/${_GCC_VER}
35
FCFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
35
FFLAGS+=	-Wl,-rpath=${_GCC_RUNTIME}
36
LDFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \
36
FCFLAGS+=	-Wl,-rpath=${_GCC_RUNTIME}
37
		-L${LOCALBASE}/lib/gcc${_GCC_VER} -B${LOCALBASE}/bin
37
LDFLAGS+=	-Wl,-rpath=${_GCC_RUNTIME} -L${_GCC_RUNTIME} -B${LOCALBASE}/bin
38
.else
38
.else
39
IGNORE=		USES=fortran: invalid arguments: ${fortran_ARGS}
39
IGNORE=		USES=fortran: invalid arguments: ${fortran_ARGS}
40
.endif
40
.endif

Return to bug 246887