ports/186745: mail/dovecot2 PATCH (needs -lgssapi_krb5 for GSSAPI on FreeBSD 10)
Jyrki Ahpola
jyrkia at gmail.com
Thu Feb 13 20:00:01 UTC 2014
>Number: 186745
>Category: ports
>Synopsis: mail/dovecot2 PATCH (needs -lgssapi_krb5 for GSSAPI on FreeBSD 10)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 13 20:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Jyrki Ahpola
>Release: 10.0-RELEASE
>Organization:
>Environment:
FreeBSD pc225 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
--- auth ---
mech-gssapi.o: In function `gssapi_credentials_callback':
mech-gssapi.c:(.text+0xec4): undefined reference to `__gss_krb5_nt_principal_name_oid_desc'
mech-gssapi.c:(.text+0xed1): undefined reference to `__gss_krb5_nt_principal_name_oid_desc'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [auth] Error code 1
>How-To-Repeat:
Compile mail/dovecot2 on 10 with GSSAPI option enabled
>Fix:
Same with mail/dovecot http://www.freebsd.org/cgi/query-pr.cgi?pr=184667&cat=ports
Add:
LDFLAGS+= -lgssapi_krb5
to the Makefile inside the .if ${PORT_OPTIONS:MGSSAPI} section.
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 344139)
+++ Makefile (working copy)
@@ -101,6 +101,7 @@
#
.if ${PORT_OPTIONS:MGSSAPI}
CONFIGURE_ARGS+=--with-gssapi
++LDFLAGS+= -lgssapi_krb5
.else
CONFIGURE_ARGS+=--without-gssapi
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list