summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2006-04-20 11:44:07 +0000
committergrant <grant@pkgsrc.org>2006-04-20 11:44:07 +0000
commitab69532caaac511997f6a96b0c28fb5201ad64f8 (patch)
tree6101b22539f8db3ac27d0962a51bebf811f84db5 /net/samba
parent28dfdf8f3cd294159d1431236f003f8d693a9e21 (diff)
downloadpkgsrc-ab69532caaac511997f6a96b0c28fb5201ad64f8.tar.gz
ignore gssapi.h on Solaris when Active Directory support is being
compiled in, as it conflicts with <gssapi/gssapi.h>. fixes build on Solaris w/ AD support.
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 7b10a435e46..954d3d25cd3 100644
--- a/net/samba/options.mk
+++ b/net/samba/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.14 2006/04/03 13:23:03 salo Exp $
+# $NetBSD: options.mk,v 1.15 2006/04/20 11:44:07 grant Exp $
# Recommended package options for various setups:
#
@@ -26,6 +26,11 @@ PKG_OPTIONS+= ldap
. endif
CONFIGURE_ARGS+= --with-ads
CONFIGURE_ARGS+= --with-krb5=${KRB5BASE:Q}
+
+# ignore gssapi.h on Solaris as it conflicts with <gssapi/gssapi.h>
+. if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= ac_cv_header_gssapi_h=no
+. endif
.else
CONFIGURE_ARGS+= --without-ads
CONFIGURE_ARGS+= --without-krb5