aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-10 13:06:53 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-10 13:06:53 +0000
commitdbd4158527edf5cd3770d0da39ad197921940434 (patch)
tree79ab4f642a7c7fec45b0b627d33dc84233e8e5a1
parentce72920680f260fc0a240576687dfcf93c7554c5 (diff)
downloadports-dbd4158527edf5cd3770d0da39ad197921940434.tar.gz
ports-dbd4158527edf5cd3770d0da39ad197921940434.zip
Notes
-rw-r--r--science/elmer-hutiter/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/science/elmer-hutiter/Makefile b/science/elmer-hutiter/Makefile
index bc2a119f495e..046f6e1ee668 100644
--- a/science/elmer-hutiter/Makefile
+++ b/science/elmer-hutiter/Makefile
@@ -17,8 +17,6 @@ COMMENT= HUTIter library for use in the ELMER FEM package
WANT_FORTRAN= yes
USE_GCC= 4.2+
-.include <bsd.port.pre.mk>
-
LIB_DEPENDS= arpack.1:${PORTSDIR}/math/arpack
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
@@ -34,7 +32,13 @@ BLAS= -lblas
LAPACK= -llapack
.endif
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|' -e 's|%%FC%%|${FC}|' ${WRKSRC}/configure.in
+
GNU_CONFIGURE= yes
+USE_AUTOTOOLS= autoconf:259
CONFIGURE_ENV+= FC=${FC} F77=${FC}
ALL_TARGET=