aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd/Makefile')
-rw-r--r--mail/cyrus-imapd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile
index 8b6526022b5e..bdf4cdfebf6d 100644
--- a/mail/cyrus-imapd/Makefile
+++ b/mail/cyrus-imapd/Makefile
@@ -24,6 +24,7 @@ BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \
${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl
USE_PERL5= yes
+USE_REINPLACE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \
--with-cyrus-group=cyrus \
@@ -60,9 +61,8 @@ HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \
notes os overview questions readme sieve-protocol sieve specs
post-patch:
- @${SED} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/tools/mkimap \
- > ${WRKSRC}/tools/mkimap.new
- @${MV} ${WRKSRC}/tools/mkimap.new ${WRKSRC}/tools/mkimap
+ @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
+ ${WRKSRC}/tools/mkimap
pre-install:
@ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8