aboutsummaryrefslogtreecommitdiffstats
path: root/math/blacs
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2010-11-15 06:00:16 +0800
committerthierry <thierry@FreeBSD.org>2010-11-15 06:00:16 +0800
commitcdd6075402dc5ef2665e6c994b24a989bae12cd6 (patch)
treebe3bb08ebdc50aaf23748edcc061c5fbbcba88e8 /math/blacs
parent6eea3c6df853a3be337a17dc942de21c155982e9 (diff)
downloadfreebsd-ports-gnome-cdd6075402dc5ef2665e6c994b24a989bae12cd6.tar.gz
freebsd-ports-gnome-cdd6075402dc5ef2665e6c994b24a989bae12cd6.tar.zst
freebsd-ports-gnome-cdd6075402dc5ef2665e6c994b24a989bae12cd6.zip
Chase the upgrade of MPICH2.
PR: ports/151868 Approved by: maho (maintainer)
Diffstat (limited to 'math/blacs')
-rw-r--r--math/blacs/Makefile9
-rw-r--r--math/blacs/files/Bmake.inc-mpich.diff2
2 files changed, 5 insertions, 6 deletions
diff --git a/math/blacs/Makefile b/math/blacs/Makefile
index e5bc8879dc28..81a6871bb232 100644
--- a/math/blacs/Makefile
+++ b/math/blacs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= blacs
PORTVERSION= 1.7
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= math
MASTER_SITES= ftp://ftp.netlib.org/blacs/
DISTNAME= BLACS
@@ -32,12 +32,11 @@ WITH_OPENMPI= yes
.endif
.if defined(WITH_OPENMPI)
-BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
-RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
+BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
+RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
EXTRA_PATCHES+= ${FILESDIR}/Bmake.inc-openmpi.diff
.else
-LIB_DEPENDS= mpich:${PORTSDIR}/net/mpich2
-RUN_DEPENDS= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
+LIB_DEPENDS+= mpich:${PORTSDIR}/net/mpich2
EXTRA_PATCHES+= ${FILESDIR}/Bmake.inc-mpich.diff
.endif
diff --git a/math/blacs/files/Bmake.inc-mpich.diff b/math/blacs/files/Bmake.inc-mpich.diff
index b3efd0032202..e19a1851ff65 100644
--- a/math/blacs/files/Bmake.inc-mpich.diff
+++ b/math/blacs/files/Bmake.inc-mpich.diff
@@ -35,7 +35,7 @@
MPILIBdir = $(MPIdir)/lib/
MPIINCdir = $(MPIdir)/include
- MPILIB = $(MPILIBdir)/libmpich.a
-+ MPILIB = $(MPILIBdir)/libmpich.a
++ MPILIB = $(MPILIBdir)/libmpich.a $(MPILIBdir)/libmpl.a -pthread
# -------------------------------------
# All libraries required by the tester.