aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-26 06:12:09 +0800
committersumikawa <sumikawa@FreeBSD.org>2000-01-26 06:12:09 +0800
commitefce5853a73b01e7c2e66e479e56d1fbed758422 (patch)
treed06a0ec9ff4bd727a6cf3dfbe4f49e07115316e8
parent1241f4060ffc58fc021ec386c74a697af22c2152 (diff)
downloadfreebsd-ports-gnome-efce5853a73b01e7c2e66e479e56d1fbed758422.tar.gz
freebsd-ports-gnome-efce5853a73b01e7c2e66e479e56d1fbed758422.tar.zst
freebsd-ports-gnome-efce5853a73b01e7c2e66e479e56d1fbed758422.zip
Use ${OSVERSION} instead of ${USE_INET6}.
-rw-r--r--security/openssh/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index c70a21ff67c4..39acf1ca7a08 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -34,10 +34,8 @@ CRYPTOLIBS+= -lRSAglue -lrsaref
.endif
# Here, MANDIR is concetenated to DESTDIR which all forms the man install dir...
MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man CRYPTOLIBS="${CRYPTOLIBS}"
-.if defined(USE_INET6)
-MAKE_ENV+= USE_INET6=yes
-.endif
.if ${OSVERSION} < 400014
+MAKE_ENV+= USET_INET6=yes
MAKE_ENV+= COMPAT_GETADDRINFO=yes
.endif
.if !exists(/usr/include/tcpd.h)