summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-04-23 12:49:38 +0000
committertron <tron@pkgsrc.org>2011-04-23 12:49:38 +0000
commita40aeba2787e8be644750aefcd777ba09f172175 (patch)
tree465c8c9f3b8a90c92fffc25c41a062b0623837f4 /net/samba
parent2eb6217f067045de6536177616a4a11219596fb0 (diff)
downloadpkgsrc-a40aeba2787e8be644750aefcd777ba09f172175.tar.gz
Fix build with the latest version of Heimdal under NetBSD/current.
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/options.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/samba/options.mk b/net/samba/options.mk
index b85a1e6d444..1fa1c6e0366 100644
--- a/net/samba/options.mk
+++ b/net/samba/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.26 2010/12/06 16:40:50 adam Exp $
+# $NetBSD: options.mk,v 1.27 2011/04/23 12:49:38 tron Exp $
# Recommended package options for various setups:
#
@@ -33,6 +33,11 @@ PKG_OPTIONS+= ldap
CONFIGURE_ARGS+= --with-ads
CONFIGURE_ARGS+= --with-krb5=${KRB5BASE:Q}
+# Avoid build failures with recent version of Heimdal under NetBSD.
+. if ${OPSYS} == "NetBSD"
+CONFIGURE_ENV+= samba_cv_HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER=no
+. endif
+
# ignore gssapi.h on Solaris as it conflicts with <gssapi/gssapi.h>
. if ${OPSYS} == "SunOS"
CONFIGURE_ENV+= ac_cv_header_gssapi_h=no