summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-26 09:22:00 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-26 09:22:00 +0000
commit955a0ab53779a5ea6cf46dcb42e8c22043f4e6bf (patch)
tree29b3730e89a435a09ce0ae570348560c835793da /net
parentCorrect usage of uuencode in po-mode.el. (diff)
Use ${OSVERSION} instead of ${USE_INET6}.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=25092
Diffstat (limited to 'net')
-rw-r--r--net/rsync/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 9cd78e04da8f..442963b5e418 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -24,7 +24,10 @@ MAINTAINER= obrien@FreeBSD.org
Y2K= http://rsync.samba.org/rsync/y2k.html
GNU_CONFIGURE= yes
-.if defined(USE_INET6)
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
CONFIGURE_ARGS= --enable-ipv6
.else
CONFIGURE_ARGS= --disable-ipv6
@@ -46,4 +49,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/tech_report.tex ${PREFIX}/share/doc/rsync
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>