diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2000-01-26 17:22:00 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2000-01-26 17:22:00 +0800 |
commit | 88df28c15599c545a50f909ecc4ef3de277d1218 (patch) | |
tree | 4178aae37d667919fc4fe35b4b0dc99515f7051d /net | |
parent | 570802456d058b21e0778cd5efcf599206f0e3b7 (diff) | |
download | freebsd-ports-gnome-88df28c15599c545a50f909ecc4ef3de277d1218.tar.gz freebsd-ports-gnome-88df28c15599c545a50f909ecc4ef3de277d1218.tar.zst freebsd-ports-gnome-88df28c15599c545a50f909ecc4ef3de277d1218.zip |
Use ${OSVERSION} instead of ${USE_INET6}.
Approved by: maintainer
Diffstat (limited to 'net')
-rw-r--r-- | net/rsync/Makefile | 7 |
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> |