mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Unbreak build with defined WITHOUT_KERBEROS.
PR: ports/133344 Submitted by: Alex Bakhtin <bakhtin xx amt.ru> Approved by: maintainer timeout (> 4 months)
This commit is contained in:
parent
7fd67a105f
commit
be307a858c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239862
2 changed files with 9 additions and 3 deletions
|
@ -23,7 +23,6 @@ USE_AUTOTOOLS= automake:19 aclocal:19 autoconf:262 autoheader:262
|
|||
USE_LDCONFIG= yes
|
||||
USE_OPENLDAP= yes
|
||||
|
||||
|
||||
PLIST_FILES= etc/nss_ldap.conf.sample \
|
||||
lib/nss_ldap.so.1
|
||||
|
||||
|
@ -33,8 +32,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|||
CONFIGURE_ARGS= --with-ldap-conf-file=${PREFIX}/etc/nss_ldap.conf \
|
||||
--with-ldap-secret-file=${PREFIX}/etc/nss_ldap.secret \
|
||||
--enable-rfc2307bis \
|
||||
--enable-paged-results \
|
||||
--enable-configurable-krb5-ccname-env
|
||||
--enable-paged-results
|
||||
|
||||
MAN5= nss_ldap.5
|
||||
|
||||
|
|
|
@ -9,3 +9,11 @@
|
|||
#include <sasl/sasl.h>
|
||||
#elif defined(HAVE_SASL_H)
|
||||
#include <sasl.h>
|
||||
@@ -84,7 +84,7 @@
|
||||
#include <gssapi/gssapi.h>
|
||||
#include <gssapi/gssapi_krb5.h>
|
||||
#endif
|
||||
-#ifdef CONFIGURE_KRB5_CCNAME
|
||||
+#if defined(CONFIGURE_KRB5_CCNAME) && defined(HAVE_KRB5_H)
|
||||
#include <krb5.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue