ports/103837: [PATCH] mail/dovecot fails to compile in GSSAPI support
Shaun Amott
shaun at FreeBSD.org
Sat Sep 30 03:40:16 UTC 2006
>Number: 103837
>Category: ports
>Synopsis: [PATCH] mail/dovecot fails to compile in GSSAPI support
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 30 03:40:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Shaun Amott
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
>Description:
Dovecot silently fails to find and enable GSSAPI support, despite
the the fact the GSSAPI OPTION was selected.
>How-To-Repeat:
- Enable GSSAPI support.
- Build and install Dovecot.
- Find that GSSAPI auth doesn't work.
>Fix:
--- dovecot.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/dovecot/Makefile,v
retrieving revision 1.52
diff -u -r1.52 Makefile
--- Makefile 24 Sep 2006 12:31:29 -0000 1.52
+++ Makefile 30 Sep 2006 03:26:51 -0000
@@ -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+= --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
--- dovecot.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list