View | Details | Raw Unified | Return to bug 39245
Collapse All | Expand All

(-)Makefile (-3 / +3 lines)
Lines 45-56 Link Here
45
MAN5=		rsyncd.conf.5
45
MAN5=		rsyncd.conf.5
46
46
47
pre-configure:
47
pre-configure:
48
	@${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g'  \
48
	@${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g'  \
49
		${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
49
		${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
50
	@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|g' \
50
	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \
51
		${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h
51
		${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h
52
.if defined(WITH_SSH)
52
.if defined(WITH_SSH)
53
	@${PERL} -pi.orig-rsh -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
53
	@${REINPLACE_CMD} -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
54
.endif
54
.endif
55
55
56
post-install:
56
post-install:

Return to bug 39245