Use ${OSVERSION} instead of ${USE_INET6}.
Approved by: maintainer
This commit is contained in:
parent
b11d42ce33
commit
955a0ab537
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25092
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user