summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/dovecot/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 498ea789e124..3a128b1374e4 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -9,7 +9,7 @@
PORTNAME= dovecot
PORTVERSION= 2.3.10.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= https://dovecot.org/releases/2.3/
@@ -135,8 +135,9 @@ LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB}
post-patch:
@${REINPLACE_CMD} -e 's,/etc/dovecot,${PREFIX}/etc/dovecot,g; \
- s,sysconfdir=/etc,sysconfdir=${PREFIX}/etc,g' \
- ${WRKSRC}/doc/example-config/*.conf ${WRKSRC}/doc/example-config/conf.d/*
+ s,sysconfdir=/etc,sysconfdir=${PREFIX}/etc,g' \
+ ${WRKSRC}/doc/example-config/*.conf ${WRKSRC}/doc/example-config/conf.d/* \
+ ${WRKSRC}/doc/example-config/*.conf.ext
@${REINPLACE_CMD} -e '/^LIBS =/s/$$/ @LTLIBICONV@/' \
${WRKSRC}/src/lib-mail/Makefile.in
# Install the sample config files into ETCDIR/example-config/