aboutsummaryrefslogtreecommitdiffstats
path: root/science/elmer-hutiter
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-12 14:51:37 +0800
committermaho <maho@FreeBSD.org>2007-01-12 14:51:37 +0800
commit0b9877d68464a36674b1f66749fe04e18b7a6ddc (patch)
tree82b4dbb8b211a6c55bab6b19aa9596efcc2a791b /science/elmer-hutiter
parentba0f626ec43ab7faad24f7435e3e5fcadd3b0ae0 (diff)
downloadfreebsd-ports-gnome-0b9877d68464a36674b1f66749fe04e18b7a6ddc.tar.gz
freebsd-ports-gnome-0b9877d68464a36674b1f66749fe04e18b7a6ddc.tar.zst
freebsd-ports-gnome-0b9877d68464a36674b1f66749fe04e18b7a6ddc.zip
* Use gfortran42 only and not gcc42.
* Bump portrevision.
Diffstat (limited to 'science/elmer-hutiter')
-rw-r--r--science/elmer-hutiter/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/science/elmer-hutiter/Makefile b/science/elmer-hutiter/Makefile
index 046f6e1ee668..bf8f088da58a 100644
--- a/science/elmer-hutiter/Makefile
+++ b/science/elmer-hutiter/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hutiter
PORTVERSION= 5.2.0
+PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= ftp://ftp.funet.fi/pub/sci/physics/elmer/
PKGNAMEPREFIX= elmer-
@@ -14,9 +15,6 @@ PKGNAMEPREFIX= elmer-
MAINTAINER= ports@FreeBSD.org
COMMENT= HUTIter library for use in the ELMER FEM package
-WANT_FORTRAN= yes
-USE_GCC= 4.2+
-
LIB_DEPENDS= arpack.1:${PORTSDIR}/math/arpack
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
@@ -34,6 +32,11 @@ LAPACK= -llapack
.include <bsd.port.pre.mk>
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+
post-patch:
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|' -e 's|%%FC%%|${FC}|' ${WRKSRC}/configure.in