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:40:01 UTC 2014
The following reply was made to PR ports/124375; it has been noted by GNATS.
From: Dewayne Geraghty <dewayne.geraghty at heuristicsystems.com.au>
To: bug-followup at FreeBSD.org, wouter at grep.be
Cc: apache at 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.
More information about the freebsd-apache
mailing list