summaryrefslogtreecommitdiff
path: root/security/ssh
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1999-04-03 03:35:50 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1999-04-03 03:35:50 +0000
commit13b379da071dd2825ceb4fcaa00b837cd7947d9d (patch)
treecbff528549c7d5044d2aed38757c39c0c05f74a7 /security/ssh
parentChanged to maintainer's new address (diff)
detect/use -current libwrap
Notes
Notes: svn path=/head/; revision=17615
Diffstat (limited to 'security/ssh')
-rw-r--r--security/ssh/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index b9fc0358b37c..9ad1bff9736b 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -3,7 +3,7 @@
# Date created: 30 Jul 1995
# Whom: torstenb@FreeBSD.ORG
#
-# $Id: Makefile,v 1.72 1999/01/02 00:12:20 asami Exp $
+# $Id: Makefile,v 1.73 1999/03/13 18:51:11 billf Exp $
#
# Maximal ssh package requires YES values for
# USE_PERL, USE_TCPWRAP
@@ -127,6 +127,9 @@ CONFIGURE_ENV+= PERL=/replace_it_with_PERL_path
.endif
# Include tcp-wrapper support (call remote identd)
+.if exists(/usr/include/tcpd.h)
+CONFIGURE_ARGS+= --with-libwrap
+.else
.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES || \
exists(${PREFIX}/lib/libwrap.a) && \
(!defined(USE_TCPWRAP) || ${USE_TCPWRAP} != NO)
@@ -134,6 +137,7 @@ CONFIGURE_ENV+= LDFLAGS=-L${PREFIX}/lib CFLAGS="${CFLAGS} -I${PREFIX}/include"
CONFIGURE_ARGS+= --with-libwrap
LIB_DEPENDS+= wrap.7:${PORTSDIR}/security/tcp_wrapper
.endif
+.endif
# Include SOCKS firewall support
.if defined(USE_SOCKS) && ${USE_SOCKS} == YES