aboutsummaryrefslogtreecommitdiff
path: root/net/rsync
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-09-02 08:00:16 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-09-02 08:00:16 +0000
commite9d5188155aff7fc0ed5abf71f710128d8710559 (patch)
tree4e7600158c03c23244b136b340a59a2c1db6b85f /net/rsync
parent9576150744387c20997a6251e04158a3d5411d8e (diff)
downloadports-e9d5188155aff7fc0ed5abf71f710128d8710559.tar.gz
ports-e9d5188155aff7fc0ed5abf71f710128d8710559.zip
Notes
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