aboutsummaryrefslogtreecommitdiffstats
path: root/math/lapack/Makefile
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-06-14 04:44:01 +0800
committermaho <maho@FreeBSD.org>2007-06-14 04:44:01 +0800
commit72a89cbbbf91d61621e78db0ac34535384811c0c (patch)
treef417eb62db8912b2e54d733f15297633b4826c21 /math/lapack/Makefile
parentfe7c11968bdbc065e5e9509bb8456d9fc9159a17 (diff)
downloadfreebsd-ports-gnome-72a89cbbbf91d61621e78db0ac34535384811c0c.tar.gz
freebsd-ports-gnome-72a89cbbbf91d61621e78db0ac34535384811c0c.tar.zst
freebsd-ports-gnome-72a89cbbbf91d61621e78db0ac34535384811c0c.zip
Build fix: use gfortran42 explicitly instead of USE_GCC=4.2+.
Spotted by: kris
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