aboutsummaryrefslogtreecommitdiff
path: root/net/rsync
diff options
context:
space:
mode:
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 bc3f3f1195d4..8b76eae278cb 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -71,6 +71,10 @@ CONFIGURE_ARGS+=--enable-acl-support
CONFIGURE_ARGS+= --with-rsh=rsh
.endif
+# guard against CFLAGS damage by MAKE_ENV
+post-patch:
+ @${REINPLACE_CMD} -e 's|CFLAGS|CONFIGUREDCFLAGS|' ${WRKSRC}/Makefile.in
+
pre-configure:
@${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g' \
${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5