aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2015-03-13 22:59:26 +0800
committeradamw <adamw@FreeBSD.org>2015-03-13 22:59:26 +0800
commit2665a595902be893ca7aac9bdf326876ae1e1a66 (patch)
tree2a1152f243406edc6b84042d175b5ba7d3a1e995 /mail
parent453b5f49561078acf86576ffc3d6cd30d4b29dcf (diff)
downloadfreebsd-ports-graphics-2665a595902be893ca7aac9bdf326876ae1e1a66.tar.gz
freebsd-ports-graphics-2665a595902be893ca7aac9bdf326876ae1e1a66.tar.zst
freebsd-ports-graphics-2665a595902be893ca7aac9bdf326876ae1e1a66.zip
Fix build on FreeBSD < 10. Thanks to oliver@ for sending me the fix.
Diffstat (limited to 'mail')
-rw-r--r--mail/dovecot2/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile
index bc99e921ecc..af6f1752167 100644
--- a/mail/dovecot2/Makefile
+++ b/mail/dovecot2/Makefile
@@ -126,6 +126,8 @@ 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/*
+ @${REINPLACE_CMD} -e '/^LIBS =/s/$$/ @LTLIBICONV@/' \
+ ${WRKSRC}/src/lib-mail/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}