aboutsummaryrefslogtreecommitdiffstats
path: root/math/blacs
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-11-19 07:55:24 +0800
committermaho <maho@FreeBSD.org>2006-11-19 07:55:24 +0800
commit38c700758bd3f40700f87c4de5a8b2efc71565dd (patch)
tree435881e4eaf8144a22686f6cc3130e31e22b4559 /math/blacs
parent3b169a1319ba2a8f50e6b9803c19161c20a1ed24 (diff)
downloadfreebsd-ports-gnome-38c700758bd3f40700f87c4de5a8b2efc71565dd.tar.gz
freebsd-ports-gnome-38c700758bd3f40700f87c4de5a8b2efc71565dd.tar.zst
freebsd-ports-gnome-38c700758bd3f40700f87c4de5a8b2efc71565dd.zip
Make consistent if OpenMPI exists.
Diffstat (limited to 'math/blacs')
-rw-r--r--math/blacs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/blacs/Makefile b/math/blacs/Makefile
index 59df40ba5ca4..e64916419f10 100644
--- a/math/blacs/Makefile
+++ b/math/blacs/Makefile
@@ -27,6 +27,10 @@ SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
+.if exists(${LOCALBASE}/mpi/openmpi/bin/mpirun)
+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