ports/124375: security/heimdal: www/mod_auth_kerb doesn't compile against heimdal in ports
Dewayne Geraghty
dewayne.geraghty at heuristicsystems.com.au
Wed Mar 19 01:39:52 UTC 2014
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.
More information about the freebsd-apache
mailing list