From nobody@FreeBSD.org  Wed Apr 30 09:11:08 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id D394C2D2
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Apr 2014 09:11:08 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id C071B153B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Apr 2014 09:11:08 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3U9B8KY036191
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 30 Apr 2014 09:11:08 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3U9B8fU036177;
	Wed, 30 Apr 2014 09:11:08 GMT
	(envelope-from nobody)
Message-Id: <201404300911.s3U9B8fU036177@cgiserv.freebsd.org>
Date: Wed, 30 Apr 2014 09:11:08 GMT
From: Dewayne <dewayne@heuristicsystems.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mail/dovecot2 configure cc option invalid & reminder fix to use security/heimdal port
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: bra@fsn.hu

>Number:         189133
>Category:       ports
>Synopsis:       mail/dovecot2 configure cc option invalid & reminder fix to use security/heimdal port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 30 09:20:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Wed Apr 30 09:30:00 UTC 2014
>Originator:     Dewayne
>Release:        FreeBSD 9.2Stable
>Organization:
>Environment:
FreeBSD b1.hs 9.2-STABLE FreeBSD 9.2-STABLE #0: Thu Apr 24 22:50:37 EST 2014     root@:/usr/obj/usr/src/sys/hqdev-amd64-padlock-smp-vga i386
>Description:
During the configuration of dovecot2, the gcc compiler is tested for the option 
cc -qversion
cc: unrecognized option '-qversion'

The port doesn't discover the gssapi from the heimdal port, please refer to my earlier PR to provide a sense of what is required to address the absent gssapi libraries when using the heimdal port:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/187721

The following is extracted from 
"/var/ports/usr/ports/mail/dovecot2/work/dovecot-2.2.12/config.log":
..
configure:4699: $? = 0
configure:4688: /usr/local/libexec/ccache/cc -v >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
configure:4699: $? = 0
configure:4688: /usr/local/libexec/ccache/cc -V >&5
cc: '-V' option must have argument
configure:4699: $? = 1
configure:4688: /usr/local/libexec/ccache/cc -qversion >&5
cc: unrecognized option '-qversion'
cc: No input files specified
configure:4699: $? = 1
configure:4719: checking whether the C compiler works
configure:4741: /usr/local/libexec/ccache/cc -O2 -pipe -pipe -O2  -march=pentium3 -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include  -L/usr/local/lib -lgssapi_krb5 conftest.c  >&5
/usr/bin/ld: cannot find -lgssapi_krb5
configure:4745: $? = 1
configure:4783: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Dovecot"

>How-To-Repeat:
On a 9.2Stable system using Gcc and pkg_* tools, the following fails:
make -DBATCH clean deinstall package
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Apr 30 09:20:05 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189133 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: bra@fsn.hu
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/189133: mail/dovecot2 configure cc option invalid & reminder fix to use security/heimdal port
Date: Wed, 30 Apr 2014 09:20:04 UT

 Maintainer of mail/dovecot2,
 
 Please note that PR ports/189133 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189133
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
>Unformatted:
