diff options
author | tmclaugh <tmclaugh@FreeBSD.org> | 2009-08-19 05:45:43 +0800 |
---|---|---|
committer | tmclaugh <tmclaugh@FreeBSD.org> | 2009-08-19 05:45:43 +0800 |
commit | 49ad7c9e84d5766fd1c03f85979705df9a3426cb (patch) | |
tree | 5b2a1748290832af66997fe3b94d8de05b372b22 /net/nss_ldap | |
parent | 7271e72f24a02db978d183febe796e5a75cd1d2c (diff) | |
download | freebsd-ports-gnome-49ad7c9e84d5766fd1c03f85979705df9a3426cb.tar.gz freebsd-ports-gnome-49ad7c9e84d5766fd1c03f85979705df9a3426cb.tar.zst freebsd-ports-gnome-49ad7c9e84d5766fd1c03f85979705df9a3426cb.zip |
- fix krb5_ccname broken in previous commit.
PR: 133344
Diffstat (limited to 'net/nss_ldap')
-rw-r--r-- | net/nss_ldap/Makefile | 9 | ||||
-rw-r--r-- | net/nss_ldap/files/patch-ldap-nss.c | 8 |
2 files changed, 7 insertions, 10 deletions
diff --git a/net/nss_ldap/Makefile b/net/nss_ldap/Makefile index 17abf6310d29..1c0f6d87ee63 100644 --- a/net/nss_ldap/Makefile +++ b/net/nss_ldap/Makefile @@ -7,7 +7,7 @@ PORTNAME= nss_ldap PORTVERSION= 1.${NSS_LDAP_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= http://www.padl.com/download/ DISTNAME= ${PORTNAME}-${NSS_LDAP_VERSION} @@ -36,6 +36,11 @@ CONFIGURE_ARGS= --with-ldap-conf-file=${PREFIX}/etc/nss_ldap.conf \ MAN5= nss_ldap.5 +.include <bsd.port.pre.mk> +.if !defined(WITHOUT_KERBEROS) +CONFIGURE_ARGS+=--enable-configurable-krb5-ccname-env +.endif + post-extract: ${CP} ${FILESDIR}/bsdnss.c ${WRKSRC} @@ -47,4 +52,4 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/${MAN5} ${MAN5PREFIX}/man/man5 ${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/nss_ldap/files/patch-ldap-nss.c b/net/nss_ldap/files/patch-ldap-nss.c index 297cc4d403f9..2622dc3b1726 100644 --- a/net/nss_ldap/files/patch-ldap-nss.c +++ b/net/nss_ldap/files/patch-ldap-nss.c @@ -9,11 +9,3 @@ #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 |