update Fri Apr 9 18:37:00 PDT 2010
[pkgsrc.git] / sysutils / ipa / options.mk
1 # $NetBSD: options.mk,v 1.1 2006/10/18 11:45:22 markd Exp $
2
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
7
8 .include "../../mk/bsd.options.mk"
9
10 ###
11 ### Enable ipa_memfunc debugging
12 ###
13 .if !empty(PKG_OPTIONS:Mipa-memfunc-debug)
14 CONFIGURE_ARGS+= --enable-memfunc-debug
15 .endif
16
17 ###
18 ### Disable dynamic rules support
19 ###
20 .if !empty(PKG_OPTIONS:Mipa-without-autorules)
21 CONFIGURE_ARGS+= --disable-autorules
22 .endif
23
24 ###
25 ### Disable limits support
26 ###
27 .if !empty(PKG_OPTIONS:Mipa-without-limits)
28 CONFIGURE_ARGS+= --disable-limits
29 .endif
30
31 ###
32 ### Disable static rules support
33 ###
34 .if !empty(PKG_OPTIONS:Mipa-without-rules)
35 CONFIGURE_ARGS+= --disable-rules
36 .endif
37
38 ###
39 ### Disable sublimits support
40 ###
41 .if !empty(PKG_OPTIONS:Mipa-without-sublimits)
42 CONFIGURE_ARGS+= --disable-sublimits
43 .endif
44
45 ###
46 ### Disable thresholds support
47 ###
48 .if !empty(PKG_OPTIONS:Mipa-without-thresholds)
49 CONFIGURE_ARGS+= --disable-thresholds
50 .endif