aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dovecot
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-10-01 08:47:55 +0800
committershaun <shaun@FreeBSD.org>2006-10-01 08:47:55 +0800
commitae0b31e0186586e3619f771b5b42e5a0d9b4ea2b (patch)
tree36fd5cbfeb33249f86813f2b16a82990fb950acb /mail/dovecot
parent1849673c9bce8aa5dc9d2c170490e1bdc2edf920 (diff)
downloadfreebsd-ports-gnome-ae0b31e0186586e3619f771b5b42e5a0d9b4ea2b.tar.gz
freebsd-ports-gnome-ae0b31e0186586e3619f771b5b42e5a0d9b4ea2b.tar.zst
freebsd-ports-gnome-ae0b31e0186586e3619f771b5b42e5a0d9b4ea2b.zip
Fix GSSAPI in Dovecot.
PR: ports/103837 Submitted by: shaun (me) Approved by: Robin Breathe <robin@isometry.net> (maintainer)
Diffstat (limited to 'mail/dovecot')
-rw-r--r--mail/dovecot/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 6c6e7401facd..cfb24fc63791 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -8,7 +8,7 @@
PORTNAME= dovecot
DISTVERSION= 1.0.rc7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail ipv6
MASTER_SITES= http://www.dovecot.org/releases/
@@ -106,6 +106,13 @@ CONFIGURE_ARGS+= --with-sqlite
CONFIGURE_ARGS+= --disable-ipv6
.endif
+post-patch:
+.if defined(WITH_GSSAPI)
+ @${REINPLACE_CMD} -e 's,<gssapi/gssapi\.h>,<gssapi.h>,' \
+ ${WRKSRC}/src/auth/mech-gssapi.c \
+ ${WRKSRC}/configure
+.endif
+
post-build:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/dovecot-example.conf