aboutsummaryrefslogtreecommitdiffstats
path: root/net/rsync
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-10-03 22:07:08 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-10-03 22:07:08 +0800
commit065f952fad24b3669bbdaf966800b03d2a9ee5c0 (patch)
treee8daa612ac4c51c849d9503bcbf98e5ce52bb883 /net/rsync
parent087dc430fabe9618c62f29f576c95ee4ef4119be (diff)
downloadfreebsd-ports-gnome-065f952fad24b3669bbdaf966800b03d2a9ee5c0.tar.gz
freebsd-ports-gnome-065f952fad24b3669bbdaf966800b03d2a9ee5c0.tar.zst
freebsd-ports-gnome-065f952fad24b3669bbdaf966800b03d2a9ee5c0.zip
Provide a patch to workaround a problem with the configure script ignoring
--with-rsyncd-conf. PR: 182596 (based on) Submitted by: Alexey Markov <redrat@mail.ru>
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index bd7d40b5b279..d2c0ab2528fb 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -3,6 +3,7 @@
PORTNAME= rsync
PORTVERSION= 3.1.0
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \
ftp://ftp.samba.org/pub/%SUBDIR%/ \
@@ -119,6 +120,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS|CONFIGUREDCFLAGS|' \
-e 's|perl.*|${DO_NADA}|' \
${WRKSRC}/Makefile.in
+# workaround for bug in configure which ignores --with-rsyncd-conf
+ @${REINPLACE_CMD} -e 's|RSYNCD_SYSCONF|"${PREFIX}/etc/rsyncd.conf"|' \
+ ${WRKSRC}/clientserver.c
pre-configure:
@${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g' \