summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorobache <obache>2015-01-22 09:32:49 +0000
committerobache <obache>2015-01-22 09:32:49 +0000
commit4d582958ef313118001b215b89cf717fbd65c58b (patch)
tree1041952561fb6ede94a5e3183a09f62840de0ab9 /www
parent57c4156bf69ef8c2d3a4ece13c16bbedd96afb7a (diff)
downloadpkgsrc-4d582958ef313118001b215b89cf717fbd65c58b.tar.gz
--with-krb5-config is not in the current version, try to use currently available
other ways instead.
Diffstat (limited to 'www')
-rw-r--r--www/squid3/options.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/squid3/options.mk b/www/squid3/options.mk
index bba2ec55ecf..53871ea8f6f 100644
--- a/www/squid3/options.mk
+++ b/www/squid3/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.14 2015/01/21 11:23:16 adam Exp $
+# $NetBSD: options.mk,v 1.15 2015/01/22 09:32:49 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.squid
PKG_SUPPORTED_OPTIONS= inet6 snmp ssl squid-backend-aufs squid-backend-diskd \
@@ -92,10 +92,12 @@ CONFIGURE_ARGS+= --disable-ipv6
.if !empty(PKG_OPTIONS:Msquid-kerberos-helper)
.include "../../mk/krb5.buildlink3.mk"
-CONFIGURE_ARGS+= --with-krb5-config=${KRB5_CONFIG:Q}
+CONFIGURE_ENV+= ac_cv_path_krb5_config=${KRB5_CONFIG:Q}
SQUID_NEGOTIATE_AUTH_HELPERS+= kerberos
.else
-CONFIGURE_ARGS+= --with-krb5-config=no
+CONFIGURE_ENV+= ac_cv_path_krb5_config=no
+CONFIGURE_ARGS+= --without-mit-krb5
+CONFIGURE_ARGS+= --without-heimdal-krb5
.endif
.if !empty(PKG_OPTIONS:Msquid-ldap-helper)