aboutsummaryrefslogtreecommitdiff
path: root/net/rsync
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-04-16 08:02:20 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-04-16 08:02:20 +0000
commit6866094f712e84acb17857adc3e873f64185d96a (patch)
tree62a50e9676320f0c1aaee93e00a1de46961e27c8 /net/rsync
parent2d314049163a00dcd5f044442c8d1a835a7f2a5c (diff)
downloadports-6866094f712e84acb17857adc3e873f64185d96a.tar.gz
ports-6866094f712e84acb17857adc3e873f64185d96a.zip
Fix building with iconv on 10.1 at least.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=413418
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index cd3cb2a06e7c..b584286c8ad9 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -4,7 +4,7 @@
PORTNAME= rsync
PORTVERSION= 3.1.2
CATEGORIES= net ipv6
-PORTREVISION= 1
+PORTREVISION= 2
MASTER_SITES= http://rsync.samba.org/ftp/rsync/ \
ftp://ftp.samba.org/pub/rsync/ \
ftp://ftp.sunet.se/pub/unix/admin/rsync/ \
@@ -84,9 +84,7 @@ SSH_CONFIGURE_OFF= --with-rsh=rsh
DISTFILES+= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
.endif
-.include <bsd.port.pre.mk>
-
-.if empty(ICONV_LIB)
+.if ! ${PORT_OPTIONS:MICONV}
CONFIGURE_ARGS+=ac_cv_search_libiconv_open=no
.endif
@@ -104,4 +102,4 @@ post-install:
test: build
@(cd ${WRKSRC} && ${MAKE_CMD} check)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>