summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-09-03 22:00:52 +0000
committertron <tron@pkgsrc.org>1999-09-03 22:00:52 +0000
commita9af877984f7b430d48340603595473605fd204d (patch)
tree26bf200091d87b3629bde9a752928611eea97ae5 /security
parent8806522d1706ce8f1f4dce2fe1a0452f191d880e (diff)
downloadpkgsrc-a9af877984f7b430d48340603595473605fd204d.tar.gz
Compare "${USE_INET6}" explicitly with "YES" so that you can override
settings at the command line.
Diffstat (limited to 'security')
-rw-r--r--security/ssh/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 1ff4ac48a01..fd9449eb520 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 1999/08/18 09:24:08 agc Exp $
+# $NetBSD: Makefile,v 1.57 1999/09/03 22:00:53 tron Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -88,7 +88,7 @@ CFLAGS+= -DLIBWRAP_FWD
# IPv6 support
# always fetch IPv6 related patch files. simplify files/md5 generation.
-.if defined(USE_INET6)
+.if defined(USE_INET6) && ${USE_INET6} == YES
PATCH_SITES+= ftp://ftp.kyoto.wide.ad.jp/IPv6/ssh/
PATCHFILES+= ssh-1.2.27-IPv6-1.5-patch.gz
PATCH_DIST_STRIP+= -p1
@@ -113,7 +113,7 @@ PLIST_SRC= ${WRKDIR}/PLIST
pre-patch:
@${MV} -f ${WRKSRC}/make-ssh-known-hosts.pl \
${WRKSRC}/make-ssh-known-hosts.pl.in
-.if defined(USE_INET6)
+.if defined(USE_INET6) && ${USE_INET6} == YES
${MKDIR} ${WRKDIR}/.patches
${CP} ${.CURDIR}/patches/patch-* ${WRKDIR}/.patches
${CP} ${.CURDIR}/patches.v6/patch-* ${WRKDIR}/.patches