diff options
-rw-r--r-- | net/net-snmp/options.mk | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/net/net-snmp/options.mk b/net/net-snmp/options.mk index 42c827a1df3..e6da67b04e6 100644 --- a/net/net-snmp/options.mk +++ b/net/net-snmp/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.7 2008/04/12 22:43:08 jlam Exp $ +# $NetBSD: options.mk,v 1.8 2009/03/18 22:50:28 adrianp Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.net-snmp -PKG_SUPPORTED_OPTIONS= ssl +PKG_SUPPORTED_OPTIONS= ssl snmp-unprived snmp-nokmem .include "../../mk/bsd.prefs.mk" @@ -26,3 +26,11 @@ CONFIGURE_ARGS+= --with-openssl .else CONFIGURE_ARGS+= --without-openssl .endif + +.if !empty(PKG_OPTIONS:Msnmp-nokmem) +CONFIGURE_ARGS+= --without-kmem-usage +.endif + +.if !empty(PKG_OPTIONS:Msnmp-unprived) +CONFIGURE_ARGS+= --without-root-access +.endif |