summaryrefslogtreecommitdiff
path: root/net
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
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')
-rw-r--r--net/mpich/Makefile17
-rw-r--r--net/mpich/pkg-plist2
-rw-r--r--net/mpich2/Makefile17
-rw-r--r--net/mpich2/pkg-plist2
4 files changed, 32 insertions, 6 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 \
diff --git a/net/mpich/pkg-plist b/net/mpich/pkg-plist
index 339d6790ca6d..137a8049921e 100644
--- a/net/mpich/pkg-plist
+++ b/net/mpich/pkg-plist
@@ -115,9 +115,11 @@ mpich/build/freebsd/ch_p4/include/mpidefs.h
mpich/build/freebsd/ch_p4/include/mpif.h
mpich/build/freebsd/ch_p4/include/mpio.h
mpich/build/freebsd/ch_p4/include/mpiof.h
+mpich/build/freebsd/ch_p4/lib/libampi.a
mpich/build/freebsd/ch_p4/lib/libfmpich.a
mpich/build/freebsd/ch_p4/lib/liblmpi.a
mpich/build/freebsd/ch_p4/lib/libmpe.a
+mpich/build/freebsd/ch_p4/lib/libmpe_nompi.a
mpich/build/freebsd/ch_p4/lib/libmpich++.a
mpich/build/freebsd/ch_p4/lib/libmpich.a
mpich/build/freebsd/ch_p4/lib/libpmpich.a
diff --git a/net/mpich2/Makefile b/net/mpich2/Makefile
index ec4a17ed7b0b..4341450429c7 100644
--- a/net/mpich2/Makefile
+++ b/net/mpich2/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 \
diff --git a/net/mpich2/pkg-plist b/net/mpich2/pkg-plist
index 339d6790ca6d..137a8049921e 100644
--- a/net/mpich2/pkg-plist
+++ b/net/mpich2/pkg-plist
@@ -115,9 +115,11 @@ mpich/build/freebsd/ch_p4/include/mpidefs.h
mpich/build/freebsd/ch_p4/include/mpif.h
mpich/build/freebsd/ch_p4/include/mpio.h
mpich/build/freebsd/ch_p4/include/mpiof.h
+mpich/build/freebsd/ch_p4/lib/libampi.a
mpich/build/freebsd/ch_p4/lib/libfmpich.a
mpich/build/freebsd/ch_p4/lib/liblmpi.a
mpich/build/freebsd/ch_p4/lib/libmpe.a
+mpich/build/freebsd/ch_p4/lib/libmpe_nompi.a
mpich/build/freebsd/ch_p4/lib/libmpich++.a
mpich/build/freebsd/ch_p4/lib/libmpich.a
mpich/build/freebsd/ch_p4/lib/libpmpich.a