On 2016/11/01 10:30, Jeremie Courreges-Anglas wrote:
> Jiri B <ji...@devio.us> writes:
> 
> > Hi,
> >
> > after openldap got gssapi flavor I've decided to try gssapi for our
> > curl as I would benefit from it everyday at work.
> >
> > But configuring curl with gssapi it does by some miracle disables
> > ssl :/
> >
> > Any idea? (Building curl without gssapi of course keeps ssl option
> > enabled.)
> 
> Using only your diff I can't get gssapi detected.  I suspect you have
> local changes somewhere, perhaps in krb5-config?
> 
> Using the following heimdal diff, I have curl detect both gssapi and
> libssl.
> 
> - krb5-config --libs should pass -R/usr/local/heimdal/libs to help ld.so
>   find heimdal libs at runtime
> - krb5-config --libs should pass -L/usr/local/lib because that's where
>   libcom_err is.  If we add only -R/usr/local/heimdal/lib, later tests
>   for functions in libcrypto/libssl fail because libcom_err isn't in the
>   library search path.
> 
> Robert, any opinion regarding the following patch?

Weren't we intentionally trying to avoid heimdal getting picked up unless
a port went out of its way to enable it (by adding LDFLAGS/CPPFLAGS etc)..?
Changing this would need some careful testing to see what other things in
ports try to pick it up.

Reply via email to