Date: Sat, 30 Sep 2006 04:30:59 +0100 From: Shaun Amott <shaun@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/103837: [PATCH] mail/dovecot fails to compile in GSSAPI support Message-ID: <1159587059.20473@charon.picobyte.net> Resent-Message-ID: <200609300340.k8U3eFQd070923@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1159587059.20473>