aboutsummaryrefslogtreecommitdiff
path: root/math/blacs
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2010-11-14 22:00:16 +0000
committerThierry Thomas <thierry@FreeBSD.org>2010-11-14 22:00:16 +0000
commitf9b73ccd0b444aef43d78ff6b192755f2e1631ba (patch)
treecf94135645b8d481d487e2276aefc2e889c56eb7 /math/blacs
parent08016c3ebb64127efa19af25ee55e6c4e67f0e37 (diff)
downloadports-f9b73ccd0b444aef43d78ff6b192755f2e1631ba.tar.gz
ports-f9b73ccd0b444aef43d78ff6b192755f2e1631ba.zip
Notes
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.