aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-04-03 11:42:01 +0800
committerache <ache@FreeBSD.org>1999-04-03 11:42:01 +0800
commit76f5f196ff79b58562cbbeff1f64f4b48cad50a6 (patch)
tree0529363ed12636ce459375b1444cdde3c0167b1a
parent18dfe03f031770b1574cfc0fef45bccf2ed65983 (diff)
downloadfreebsd-ports-graphics-76f5f196ff79b58562cbbeff1f64f4b48cad50a6.tar.gz
freebsd-ports-graphics-76f5f196ff79b58562cbbeff1f64f4b48cad50a6.tar.zst
freebsd-ports-graphics-76f5f196ff79b58562cbbeff1f64f4b48cad50a6.zip
detect/use -current libwrap
-rw-r--r--security/ssh2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index a6a201d9e3c..7a317c938a8 100644
--- a/security/ssh2/Makefile
+++ b/security/ssh2/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 Oct 1998
# Whom: Issei Suzuki <issei@jp.FreeBSD.ORG>
#
-# $Id: Makefile,v 1.78 1999/02/06 01:40:28 ache Exp $
+# $Id: Makefile,v 1.79 1999/03/15 01:18:49 steve Exp $
#
# Maximal ssh2 package requires YES values for
# USE_SSH1, USE_TCPWRAP
@@ -45,10 +45,14 @@ CONFIGURE_ARGS+= --with-secureid
.if defined(USE_TIS) && ${USE_TIS} == YES
CONFIGURE_ARGS+= --with-tis
.endif
+.if exists(/usr/include/tcpd.h)
+CONFIGURE_ARGS+= --with-libwrap
+.else
.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES
CONFIGURE_ARGS+= --with-libwrap="-L ${PREFIX}/lib -lwrap"
LIB_DEPENDS+= wrap.7:${PORTSDIR}/security/tcp_wrapper
.endif
+.endif
MAN1= ssh2.1 ssh-keygen2.1 ssh-add2.1 ssh-agent2.1 \
scp2.1 sftp2.1