MFH: r468557

Correctly link to MIT KRB5 libraries when selected.

This was discovered while working through issues relating to an
exp-run using base with private Heimdal, part of the project to
make a) Heimdal in base private and b) import MIT into base (PR 222745).

PR:		227680
Submitted by:	cy@
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
Approved by:	portmgr (riggs)
This commit is contained in:
Cy Schubert 2018-04-30 19:21:52 +00:00
parent d1c61bf11e
commit 867d779dfe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q2/; revision=468741
2 changed files with 32 additions and 2 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= fetchmail
PORTVERSION= 6.3.26
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= mail ipv6
MASTER_SITES= SF/${PORTNAME}/branch_6.3/ \
http://mandree.home.pages.de/${PORTNAME}/
@ -46,7 +46,7 @@ GSSAPI_BASE_CONFIGURE_ON= --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS
GSSAPI_HEIMDAL_USES= gssapi:heimdal
GSSAPI_HEIMDAL_CONFIGURE_ON= --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
GSSAPI_MIT_USES= gssapi:mit
GSSAPI_MIT_CONFIGURE_ON= --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
GSSAPI_MIT_CONFIGURE_ON= --with-kerberos5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
GSSAPI_NONE_CONFIGURE_ON= --without-gssapi
X11_DESC= Python/Tkinter dependencies for ``fetchmailconf''

View File

@ -0,0 +1,30 @@
--- configure.orig 2013-04-23 14:36:55.000000000 -0700
+++ configure 2018-04-21 22:45:30.073773000 -0700
@@ -9552,11 +9552,11 @@
#ifdef __cplusplus
extern "C"
#endif
-char krb5_des_string_to_key ();
+char krb5int_des_string_to_key ();
int
main ()
{
-return krb5_des_string_to_key ();
+return krb5int_des_string_to_key ();
;
return 0;
}
@@ -9591,11 +9591,11 @@
#ifdef __cplusplus
extern "C"
#endif
-char krb5_des_string_to_key ();
+char krb5int_des_string_to_key ();
int
main ()
{
-return krb5_des_string_to_key ();
+return krb5int_des_string_to_key ();
;
return 0;
}