aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/cyrus/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/cyrus/Makefile b/mail/cyrus/Makefile
index 61e0cbdd2fc8..1f95d80cb7af 100644
--- a/mail/cyrus/Makefile
+++ b/mail/cyrus/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \
${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl
+USE_REINPLACE= yes
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \
--with-cyrus-group=cyrus \
@@ -35,7 +36,7 @@ MAN8= arbitron.8 collectnews.8 cyrquota.8 deliver.8 fud.8 \
timsieved.8
post-configure:
- @ ${SETENV} ${MAKE_ENV} perl -pi -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/imap/config.c ${WRKSRC}/imap/krbck.c
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/imap/config.c ${WRKSRC}/imap/krbck.c
pre-install:
@ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8