At least the "squid31" package needs "--disable-snmp" as SNMP as enabled

by default. Use that configure option if the "snmp" option is disabled.
This commit is contained in:
tron 2010-02-19 17:22:13 +00:00
parent a8a1d8e767
commit d21e7e28e7

View file

@ -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)