Date: Wed, 19 Mar 2014 01:40:00 GMT From: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> To: apache@FreeBSD.org Subject: Re: ports/124375: security/heimdal: www/mod_auth_kerb doesn't compile against heimdal in ports Message-ID: <201403190140.s2J1e06g071759@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/124375; it has been noted by GNATS. From: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> To: bug-followup@FreeBSD.org, wouter@grep.be Cc: apache@FreeBSD.org Subject: Re: ports/124375: security/heimdal: www/mod_auth_kerb doesn't compile against heimdal in ports Date: Wed, 19 Mar 2014 12:15:33 +1100 To build the www/mod_auth_kerb2 package on a 9.2Stable system using the security/heimdal port, is to copy the following into files/ --- patch-Makefile.in.orig 2014-03-13 19:57:40.000000000 +1100 +++ patch-Makefile.in 2014-03-13 19:58:11.000000000 +1100 @@ -4,7 +4,7 @@ APXS = @APXS@ KRB5_CPPFLAGS = @KRB5_CPPFLAGS@ -KRB5_LDFLAGS = @KRB5_LDFLAGS@ -+KRB5_LDFLAGS = @KRB5_LDFLAGS@ -lgssapi_krb5 ++KRB5_LDFLAGS = @KRB5_LDFLAGS@ KRB4_CPPFLAGS = @KRB4_CPPFLAGS@ KRB4_LDFLAGS = @KRB4_LDFLAGS@ LIB_resolv = @LIB_resolv@ patch-src__mod_auth_kerb_last.c --- src/mod_auth_kerb.c.orig 2013-11-27 16:33:18.000000000 +1100 +++ src/mod_auth_kerb.c 2013-11-27 16:33:35.000000000 +1100 @@ -100,6 +100,7 @@ #include <krb5.h> #ifdef HEIMDAL # include <gssapi/gssapi.h> +# include <gssapi/gssapi_krb5.h> #else # include <gssapi/gssapi.h> # include <gssapi/gssapi_generic.h> caveat: heimdal is placed into /usr (PREFIX=/usr), so my HEIMDAL_HOME=/usr which enables the include files and libraries to be found by other ports. Regards, Dewayne.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403190140.s2J1e06g071759>