diff options
author | tron <tron> | 2010-02-19 17:22:13 +0000 |
---|---|---|
committer | tron <tron> | 2010-02-19 17:22:13 +0000 |
commit | f5615d357bfb3120865c769e952960bc929c3e6f (patch) | |
tree | 63c0adc4df38e35441c0aac29f7d1e4151e1cc4d /www | |
parent | 04e89935a922f6da1d20f5c480de10c99c748cd9 (diff) | |
download | pkgsrc-f5615d357bfb3120865c769e952960bc929c3e6f.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')
-rw-r--r-- | www/squid/options.mk | 4 |
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) |