summaryrefslogtreecommitdiff
path: root/net/mpich2
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
commitb4455771cced2fe9f134e751fe88dbba7226e694 (patch)
tree39733bef5e1d466d30938b5a47f0b46a7b6890b4 /net/mpich2
parentStandardize all user defined options to the booleans WITH_FOO and (diff)
Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports
Notes
Notes: svn path=/head/; revision=27680
Diffstat (limited to 'net/mpich2')
-rw-r--r--net/mpich2/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/net/mpich2/Makefile b/net/mpich2/Makefile
index 1bfff6fa1a44..0795419d5ddd 100644
--- a/net/mpich2/Makefile
+++ b/net/mpich2/Makefile
@@ -22,19 +22,16 @@ CONFIGURE_ARGS= -cflags="${CFLAGS}" -prefix=${PREFIX}/mpich
.include <bsd.port.pre.mk>
-# Include support for ssh client
-USE_SSH?= YES
+# To disable ssh client support, build with WITHOUT_SSH set.
# Use ssh instead of rsh
-.if ${OSVERSION} >= 400016 && \
- exists(/usr/bin/ssh) && \
- (!defined(USE_SSH) || ${USE_SSH} != NO)
+.if !defined(WITHOUT_SSH)
+.if ${OSVERSION} >= 400016 && exists(/usr/bin/ssh)
CONFIGURE_ARGS+= -rsh="/usr/bin/ssh"
-.elif defined(USE_SSH) && ${USE_SSH} == YES || \
- exists(${LOCALBASE}/bin/ssh) && \
- (!defined(USE_SSH) || ${USE_SSH} != NO)
+.elif defined(WITH_SSH) || exists(${LOCALBASE}/bin/ssh)
RUN_DEPENDS+= ssh:${PORTSDIR}/security/ssh
CONFIGURE_ARGS+= -rsh="${LOCALBASE}/bin/ssh"
.endif
+.endif
ALL_TARGET=
MANPREFIX= ${PREFIX}/mpich