diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-04-17 00:19:02 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-04-17 00:19:02 +0000 |
commit | b4455771cced2fe9f134e751fe88dbba7226e694 (patch) | |
tree | 39733bef5e1d466d30938b5a47f0b46a7b6890b4 /net/mpich2/Makefile | |
parent | 877b8a533b44bb6324ebbaf65cd80a60d1572003 (diff) |
Notes
Diffstat (limited to 'net/mpich2/Makefile')
-rw-r--r-- | net/mpich2/Makefile | 13 |
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 |