summaryrefslogtreecommitdiff
path: root/net/rsync
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-16 19:00:32 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-16 19:00:32 +0000
commitb6e54fb48a02594edd704effd4026f5ff3b5620a (patch)
tree9f80dc2ba6d731f88832f48db70f6ea157f165c3 /net/rsync
parentAdd USE_PERL5 since perl is required to run a script inside the (diff)
fix REINPLACE_CMD last commit
PR: 39365 Submitted by: maintainer
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 3e695f5df9c2..093017a25bc0 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -47,9 +47,11 @@ MAN5= rsyncd.conf.5
pre-configure:
@${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g' \
${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
+ @${RM} ${WRKSRC}/rsync.h.bak
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \
${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h
.if defined(WITH_SSH)
+ @${RM} ${WRKSRC}/rsync.h.bak
@${REINPLACE_CMD} -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
.endif