summaryrefslogtreecommitdiff
path: root/sysutils/ipa/options.mk
blob: d16198dc974f8c4235ad72ab076ad1fa4b3a4bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $NetBSD: options.mk,v 1.2 2012/07/17 21:00:34 asau Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ipa
PKG_SUPPORTED_OPTIONS=	ipa-without-autorules \
			ipa-without-limits ipa-without-rules \
			ipa-without-sublimits ipa-without-thresholds

.include "../../mk/bsd.options.mk"

###
### 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