summaryrefslogtreecommitdiff
path: root/sysutils/ipa/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ipa/options.mk')
-rw-r--r--sysutils/ipa/options.mk50
1 files changed, 50 insertions, 0 deletions
diff --git a/sysutils/ipa/options.mk b/sysutils/ipa/options.mk
new file mode 100644
index 00000000000..4f3c7eb9c4e
--- /dev/null
+++ b/sysutils/ipa/options.mk
@@ -0,0 +1,50 @@
+# $NetBSD: options.mk,v 1.1 2006/10/18 11:45:22 markd Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ipa
+PKG_SUPPORTED_OPTIONS= ipa-memfunc-debug ipa-without-autorules \
+ ipa-without-limits ipa-without-rules \
+ ipa-without-sublimits ipa-without-thresholds
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Enable ipa_memfunc debugging
+###
+.if !empty(PKG_OPTIONS:Mipa-memfunc-debug)
+CONFIGURE_ARGS+= --enable-memfunc-debug
+.endif
+
+###
+### Disable dynamic rules support
+###
+.if !empty(PKG_OPTIONS:Mipa-without-autorules)
+CONFIGURE_ARGS+= --disable-autorules
+.endif
+
+###
+### Disable limits support
+###
+.if !empty(PKG_OPTIONS:Mipa-without-limits)
+CONFIGURE_ARGS+= --disable-limits
+.endif
+
+###
+### Disable static rules support
+###
+.if !empty(PKG_OPTIONS:Mipa-without-rules)
+CONFIGURE_ARGS+= --disable-rules
+.endif
+
+###
+### Disable sublimits support
+###
+.if !empty(PKG_OPTIONS:Mipa-without-sublimits)
+CONFIGURE_ARGS+= --disable-sublimits
+.endif
+
+###
+### Disable thresholds support
+###
+.if !empty(PKG_OPTIONS:Mipa-without-thresholds)
+CONFIGURE_ARGS+= --disable-thresholds
+.endif