* Use gfortran42 only and not gcc42.

* Bump portrevision.
This commit is contained in:
Maho Nakata 2007-01-12 06:51:37 +00:00
parent 7e58191c36
commit 2379ac956f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182146

View file

@ -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