summaryrefslogtreecommitdiff
path: root/www/squid
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2010-02-19 17:22:13 +0000
committertron <tron@pkgsrc.org>2010-02-19 17:22:13 +0000
commitaecb60f292a68c2fb57983ee6133762020f7d2e3 (patch)
tree63c0adc4df38e35441c0aac29f7d1e4151e1cc4d /www/squid
parentb3edf03e2b1f067d25f6abf8b936a54fb41d3d7b (diff)
downloadpkgsrc-aecb60f292a68c2fb57983ee6133762020f7d2e3.tar.gz
At least the "squid31" package needs "--disable-snmp" as SNMP as enabled
by default. Use that configure option if the "snmp" option is disabled.
Diffstat (limited to 'www/squid')
-rw-r--r--www/squid/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/squid/options.mk b/www/squid/options.mk
index b9be8041d38..629d5179878 100644
--- a/www/squid/options.mk
+++ b/www/squid/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.15 2008/10/24 14:14:53 taca Exp $
+# $NetBSD: options.mk,v 1.16 2010/02/19 17:22:13 tron Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.squid
PKG_SUPPORTED_OPTIONS= snmp ssl \
@@ -113,6 +113,8 @@ SQUID_BASIC_AUTH_HELPERS+= PAM
.if !empty(PKG_OPTIONS:Msnmp)
CONFIGURE_ARGS+= --enable-snmp
PLIST.snmp= yes
+.else
+CONFIGURE_ARGS+= --disable-snmp
.endif
.if !empty(PKG_OPTIONS:Mssl)