summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-26 09:22:00 +0000
committersumikawa <sumikawa@FreeBSD.org>2000-01-26 09:22:00 +0000
commit88df28c15599c545a50f909ecc4ef3de277d1218 (patch)
tree4178aae37d667919fc4fe35b4b0dc99515f7051d /net
parent570802456d058b21e0778cd5efcf599206f0e3b7 (diff)
downloadFreeBSD-ports-88df28c15599c545a50f909ecc4ef3de277d1218.zip
FreeBSD-ports-88df28c15599c545a50f909ecc4ef3de277d1218.tar.gz
Use ${OSVERSION} instead of ${USE_INET6}.
Approved by: maintainer
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 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