1 # $NetBSD: options.mk,v 1.1 2006/10/18 11:45:22 markd Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.ipa
4 PKG_SUPPORTED_OPTIONS= ipa-memfunc-debug ipa-without-autorules \
5 ipa-without-limits ipa-without-rules \
6 ipa-without-sublimits ipa-without-thresholds
8 .include "../../mk/bsd.options.mk"
11 ### Enable ipa_memfunc debugging
13 .if !empty(PKG_OPTIONS:Mipa-memfunc-debug)
14 CONFIGURE_ARGS+= --enable-memfunc-debug
18 ### Disable dynamic rules support
20 .if !empty(PKG_OPTIONS:Mipa-without-autorules)
21 CONFIGURE_ARGS+= --disable-autorules
25 ### Disable limits support
27 .if !empty(PKG_OPTIONS:Mipa-without-limits)
28 CONFIGURE_ARGS+= --disable-limits
32 ### Disable static rules support
34 .if !empty(PKG_OPTIONS:Mipa-without-rules)
35 CONFIGURE_ARGS+= --disable-rules
39 ### Disable sublimits support
41 .if !empty(PKG_OPTIONS:Mipa-without-sublimits)
42 CONFIGURE_ARGS+= --disable-sublimits
46 ### Disable thresholds support
48 .if !empty(PKG_OPTIONS:Mipa-without-thresholds)
49 CONFIGURE_ARGS+= --disable-thresholds