summaryrefslogtreecommitdiff
path: root/net/rsync
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-04-03 21:52:38 +0000
committerPatrick Li <pat@FreeBSD.org>2002-04-03 21:52:38 +0000
commit6b63e747b2549f9bcf38e33f89f068897d98f207 (patch)
treeabf14a360bac49fae38501612ed1c10084c64e67 /net/rsync
parentMinor cleanup. (diff)
Remove #include <malloc.h>
PR: 36707 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=57285
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 930083f00ca8..b373b1feb482 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -42,6 +42,8 @@ MAN5= rsyncd.conf.5
pre-configure:
@${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' \
${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
+ @${PERL} -pi.orig -e 's|malloc.h|stdlib.h|g' \
+ ${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h
.if defined(WITH_SSH)
@${PERL} -pi.orig-rsh -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
.endif