summaryrefslogtreecommitdiffstats
path: root/net/rsync
diff options
context:
space:
mode:
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 9cd78e0..442963b 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>
OpenPOWER on IntegriCloud