summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-01-25 04:17:28 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-01-25 04:17:28 +0000
commitc30108e007827f4e040d11a54a5e3afa7a01c072 (patch)
treedfe5b0ee37db2716e31e515fc97391649324552b /security
parentCreate share data block to resolve references (diff)
Understands shared libwrap now
Notes
Notes: svn path=/head/; revision=2658
Diffstat (limited to 'security')
-rw-r--r--security/ssh/Makefile5
-rw-r--r--security/ssh2/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 96f2cf7da421..f6529b29a134 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.10 1996/01/22 18:41:57 markm Exp $
+# $Id: Makefile,v 1.11 1996/01/25 02:08:25 ache Exp $
#
DISTNAME= ssh-1.2.12a
@@ -102,7 +102,8 @@ CONFIGURE_ENV+= WISH=/replace_it_with_WISH_path
.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES || \
exists(${PREFIX}/lib/libwrap.a) && \
(!defined(USE_TCPWRAP) || ${USE_TCPWRAP} != NO)
-BUILD_DEPENDS+= ${PREFIX}/lib/libwrap.a:${PORTSDIR}/security/tcp_wrapper
+CONFIGURE_ENV+= LDFLAGS=-L${PREFIX}/lib CFLAGS="${CFLAGS} -I${PREFIX}/include"
CONFIGURE_ARGS+= --with-libwrap
+LIB_DEPENDS+= wrap\\.7\\.:${PORTSDIR}/security/tcp_wrapper
.endif
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index 96f2cf7da421..f6529b29a134 100644
--- a/security/ssh2/Makefile
+++ b/security/ssh2/Makefile
@@ -3,7 +3,7 @@
# Date created: 30 Jul 1995
# Whom: torstenb@FreeBSD.ORG
#
-# $Id: Makefile,v 1.10 1996/01/22 18:41:57 markm Exp $
+# $Id: Makefile,v 1.11 1996/01/25 02:08:25 ache Exp $
#
DISTNAME= ssh-1.2.12a
@@ -102,7 +102,8 @@ CONFIGURE_ENV+= WISH=/replace_it_with_WISH_path
.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES || \
exists(${PREFIX}/lib/libwrap.a) && \
(!defined(USE_TCPWRAP) || ${USE_TCPWRAP} != NO)
-BUILD_DEPENDS+= ${PREFIX}/lib/libwrap.a:${PORTSDIR}/security/tcp_wrapper
+CONFIGURE_ENV+= LDFLAGS=-L${PREFIX}/lib CFLAGS="${CFLAGS} -I${PREFIX}/include"
CONFIGURE_ARGS+= --with-libwrap
+LIB_DEPENDS+= wrap\\.7\\.:${PORTSDIR}/security/tcp_wrapper
.endif