aboutsummaryrefslogtreecommitdiffstats
path: root/math/lapack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/lapack/Makefile')
-rw-r--r--math/lapack/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile
index d4767617fa03..61abb0e4223d 100644
--- a/math/lapack/Makefile
+++ b/math/lapack/Makefile
@@ -18,7 +18,11 @@ COMMENT= A library of Fortran 77 subroutines for linear algebra
LIB_DEPENDS= blas.2:${PORTSDIR}/math/blas
WANT_FORTRAN= yes
-USE_GCC= 4.2+
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
+MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
DIST_SUBDIR= lapack