aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2009-01-19 07:47:17 +0800
committergerald <gerald@FreeBSD.org>2009-01-19 07:47:17 +0800
commitfefba8e11407c6475a0863a15cac47233ec3d389 (patch)
tree956300758238efb97714434da38f5cefcb01e888
parent9f25876cc269949e73074584316b93e81a5df348 (diff)
downloadfreebsd-ports-gnome-fefba8e11407c6475a0863a15cac47233ec3d389.tar.gz
freebsd-ports-gnome-fefba8e11407c6475a0863a15cac47233ec3d389.tar.zst
freebsd-ports-gnome-fefba8e11407c6475a0863a15cac47233ec3d389.zip
Leverage USE_FORTRAN instead of accomplishing the same manually.
-rw-r--r--math/femlab/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/math/femlab/Makefile b/math/femlab/Makefile
index c8453c9eaa33..a0426f0acf5f 100644
--- a/math/femlab/Makefile
+++ b/math/femlab/Makefile
@@ -20,12 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libsx.a:${PORTSDIR}/x11/libsx \
imake:${PORTSDIR}/devel/imake
USE_XORG= xaw
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
-MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
-
+USE_FORTRAN= yes
FEMLAB_HOME= ${PREFIX}/lib/X11/femlab