aboutsummaryrefslogtreecommitdiff
path: root/net/rsync
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2008-03-12 14:09:22 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2008-03-12 14:09:22 +0000
commit57c1a564fd2dbe25d559bb50afcf901694a2e612 (patch)
treea62f061254ef30a23a98ed6115153e61a949d7e6 /net/rsync
parentf856a9ae6e946c6975cc77bd09648d1dcb1e3aa4 (diff)
downloadports-57c1a564fd2dbe25d559bb50afcf901694a2e612.tar.gz
ports-57c1a564fd2dbe25d559bb50afcf901694a2e612.zip
Notes
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 402920478da6..e3fcb8ef871f 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -39,10 +39,18 @@ MAN5= rsyncd.conf.5
OPTIONS= POPT_PORT "Use popt from devel/popt instead of bundled one" off \
SSH "Use SSH instead of RSH" on \
FLAGS "File system flags support patch, adds --fileflags" off \
- ACL "Add backward-compatibility for the --acls option" off
+ ACL "Add backward-compatibility for the --acls option" off \
+ ICONV "Add iconv support" off
.include <bsd.port.pre.mk>
+.if defined(WITH_ICONV)
+USE_ICONV= yes
+CONFIGUREDCFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CONFIGUREDCFLAGS="${CONFIGUREDCFLAGS}"
+.endif
+
.if defined(WITH_FLAGS)
USE_PERL5_BUILD=yes
PATCH_STRIP= -p1