aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-10 21:49:02 +0800
committermaho <maho@FreeBSD.org>2007-01-10 21:49:02 +0800
commit094cd04046fd5c52d8565f97f6819b69fa7c63ea (patch)
tree5aaa3e2f69570fd8ce52bae62ec67683bbfebf3f /science
parentd47f0f614ce47c11dd074df864f8b6fb6d8c7b4f (diff)
downloadfreebsd-ports-gnome-094cd04046fd5c52d8565f97f6819b69fa7c63ea.tar.gz
freebsd-ports-gnome-094cd04046fd5c52d8565f97f6819b69fa7c63ea.tar.zst
freebsd-ports-gnome-094cd04046fd5c52d8565f97f6819b69fa7c63ea.zip
Migrate to gfortran42.
Diffstat (limited to 'science')
-rw-r--r--science/elmerpost/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/science/elmerpost/Makefile b/science/elmerpost/Makefile
index e5bbfc460c8f..1a7ce3e70746 100644
--- a/science/elmerpost/Makefile
+++ b/science/elmerpost/Makefile
@@ -7,6 +7,7 @@
PORTNAME= elmerpost
PORTVERSION= 5.2.0
+PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= ftp://ftp.funet.fi/pub/sci/physics/elmer/
@@ -26,10 +27,10 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET=
-USE_GCC= 4.1+
-WITH_FORTRAN= yes
-F77= ${FC}
-CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS}
+USE_GCC= 4.1 #4.2 has bugs
+WANT_FORTRAN= yes
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+CONFIGURE_ENV+= FC=gfortran42 F77=gfortran42 FCFLAGS=${FCFLAGS}
PLIST_SUB= ARCH=${MACHINE_ARCH}