From 2379ac956f55f3bfbcd3aec454903b7843aa41e2 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Fri, 12 Jan 2007 06:51:37 +0000 Subject: [PATCH] * Use gfortran42 only and not gcc42. * Bump portrevision. --- science/elmer-hutiter/Makefile | 9 ++++++--- 1 file 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 +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