aboutsummaryrefslogtreecommitdiffstats
path: root/net/openmpi
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-12 13:49:14 +0800
committermaho <maho@FreeBSD.org>2007-01-12 13:49:14 +0800
commitcb311717a8685c3e2ecbc56300af3f2600e8275f (patch)
tree340c127e8e5cfe7b3a36a27581c61392d51e82a1 /net/openmpi
parent80529452ccff5cf2c5419ae5af4f4f0b62d85740 (diff)
downloadfreebsd-ports-gnome-cb311717a8685c3e2ecbc56300af3f2600e8275f.tar.gz
freebsd-ports-gnome-cb311717a8685c3e2ecbc56300af3f2600e8275f.tar.zst
freebsd-ports-gnome-cb311717a8685c3e2ecbc56300af3f2600e8275f.zip
* Migrate to gfortran42
* add support of f90 Approved by: portmgr (kris)
Diffstat (limited to 'net/openmpi')
-rw-r--r--net/openmpi/Makefile7
-rw-r--r--net/openmpi/pkg-plist2
2 files changed, 8 insertions, 1 deletions
diff --git a/net/openmpi/Makefile b/net/openmpi/Makefile
index 1c58f6a4c53d..18a46d449639 100644
--- a/net/openmpi/Makefile
+++ b/net/openmpi/Makefile
@@ -6,11 +6,11 @@
#
# TODO:
-# - F90 support
# - etc/*.sample support
PORTNAME= openmpi
DISTVERSION= 1.1.2
+PORTREVISION= 1
CATEGORIES= net parallel
MASTER_SITES= http://www.open-mpi.org/software/ompi/v1.1/downloads/
@@ -43,6 +43,11 @@ MANPREFIX= ${TARGETDIR}/${MPIDIR}
.include <bsd.port.pre.mk>
+WANT_FORTRAN=yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+CONFIGURE_ENV+= F77=${F77} FC=${FC}
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
diff --git a/net/openmpi/pkg-plist b/net/openmpi/pkg-plist
index f603905932d0..3d79fafb3c18 100644
--- a/net/openmpi/pkg-plist
+++ b/net/openmpi/pkg-plist
@@ -46,10 +46,12 @@
%%MPIDIR%%/lib/libmpi.so.0
%%MPIDIR%%/lib/libmpi_cxx.la
%%MPIDIR%%/lib/libmpi_cxx.so.0
+%%MPIDIR%%/lib/libmpi_f90.a
%%MPIDIR%%/lib/libopal.la
%%MPIDIR%%/lib/libopal.so.0
%%MPIDIR%%/lib/liborte.la
%%MPIDIR%%/lib/liborte.so.0
+%%MPIDIR%%/lib/mpi.mod
%%MPIDIR%%/lib/openmpi/mca_allocator_basic.la
%%MPIDIR%%/lib/openmpi/mca_allocator_basic.so
%%MPIDIR%%/lib/openmpi/mca_allocator_bucket.la