summaryrefslogtreecommitdiffstats
path: root/net/mpich2
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
committerreg <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
commitd22cbcc0186bfcde72d3058c3d06d1032bb7157e (patch)
treeefb5227e2fc359da16edf2ca8a5ca4744a25bc3e /net/mpich2
parent8b766534122d71052c9f8e5a0752944edf0450f8 (diff)
downloadFreeBSD-ports-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.zip
FreeBSD-ports-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.tar.gz
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
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 1bfff6f..0795419 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
OpenPOWER on IntegriCloud