summaryrefslogtreecommitdiffstats
path: root/security/ssh
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-04-03 03:35:50 +0000
committerache <ache@FreeBSD.org>1999-04-03 03:35:50 +0000
commit18dfe03f031770b1574cfc0fef45bccf2ed65983 (patch)
tree3f18774c74d798d3fdcdc3578070f24b87168648 /security/ssh
parentfc7e5b2cafb9e996fdcf88533413e91725afc1d2 (diff)
downloadFreeBSD-ports-18dfe03f031770b1574cfc0fef45bccf2ed65983.zip
FreeBSD-ports-18dfe03f031770b1574cfc0fef45bccf2ed65983.tar.gz
detect/use -current libwrap
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 b9fc035..9ad1bff 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
OpenPOWER on IntegriCloud