aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-04-16 16:02:20 +0800
committermat <mat@FreeBSD.org>2016-04-16 16:02:20 +0800
commitea3ada78831cb9abf924ffdccd18fb8852aedd17 (patch)
tree62a50e9676320f0c1aaee93e00a1de46961e27c8 /net
parent227b976e781e94959092c64d0bde48fd920e912b (diff)
downloadfreebsd-ports-gnome-ea3ada78831cb9abf924ffdccd18fb8852aedd17.tar.gz
freebsd-ports-gnome-ea3ada78831cb9abf924ffdccd18fb8852aedd17.tar.zst
freebsd-ports-gnome-ea3ada78831cb9abf924ffdccd18fb8852aedd17.zip
Fix building with iconv on 10.1 at least.
Sponsored by: Absolight
Diffstat (limited to 'net')
-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>