summaryrefslogtreecommitdiff
path: root/net/mpich/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-26 18:10:49 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-26 18:10:49 +0000
commit2a9b4562cd8335e935e404835c9d655f30681ac0 (patch)
treeeba37e8a291a8a8a1271f942ade1b6ac77a9bafb /net/mpich/Makefile
parentUpdate to version 2.1.3. (diff)
Allow this port to use secure "ssh" client instead of traditional "rsh"
client. Also add a couple of missing files to PLIST. PR: 14516 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=23361
Diffstat (limited to 'net/mpich/Makefile')
-rw-r--r--net/mpich/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/net/mpich/Makefile b/net/mpich/Makefile
index ec4a17ed7b0b..4341450429c7 100644
--- a/net/mpich/Makefile
+++ b/net/mpich/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: mpich (portable mpi standard imp.)
-# Version required: 1.1.1
+# Version required: 1.1.2
# Date created: 2 May 1998
# Whom: dbader@eece.unm.edu
#
@@ -18,10 +18,21 @@ MAINTAINER= dbader@eece.unm.edu
DIST_SUBDIR= mpich
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --cflags="$(CFLAGS)" -prefix=$(PREFIX)/mpich
+CONFIGURE_ARGS= -cflags="${CFLAGS}" -prefix=${PREFIX}/mpich
+
+# Include support for ssh client
+USE_SSH?= YES
+# Use ssh instead of rsh
+.if defined(USE_SSH) && ${USE_SSH} == YES || \
+ exists(${PREFIX}/bin/ssh) && \
+ (!defined(USE_SSH) || ${USE_SSH} != NO)
+RUN_DEPENDS+= ssh:${PORTSDIR}/security/ssh
+CONFIGURE_ARGS+= -rsh="${PREFIX}/bin/ssh"
+.endif
+
WRKSRC= ${WRKDIR}/mpich
ALL_TARGET=
-MANPREFIX= $(PREFIX)/mpich
+MANPREFIX= ${PREFIX}/mpich
MAN1= Jumpshot.1 MPI.1 chp4_servs.1 mpiCC.1 mpicc.1 mpif77.1 \
mpif90.1 mpiman.1 mpireconfig.1 mpirun.1 tstmachines.1
MAN3= Constants.3 MPIO_Request_c2f.3 MPIO_Request_f2c.3 \