| @@ -1,14 +1,19 @@ | | | @@ -1,14 +1,19 @@ |
1 | # $NetBSD: options.mk,v 1.2 2007/01/25 18:15:49 epg Exp $ | | 1 | # $NetBSD: options.mk,v 1.3 2008/01/29 19:04:28 gdt Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.subversion | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.subversion |
4 | PKG_SUPPORTED_OPTIONS= apache22 apr1 serf | | 4 | PKG_SUPPORTED_OPTIONS= apache22 apr1 serf |
5 | | | 5 | |
| | | 6 | # Note that this file is included as part of several packages. |
| | | 7 | # Therefore this file only defines options, but does not include the |
| | | 8 | # typical fragments to change behavior based on options, leaving those |
| | | 9 | # to the individual Makefiles. |
| | | 10 | |
6 | .include "../../mk/bsd.options.mk" | | 11 | .include "../../mk/bsd.options.mk" |
7 | | | 12 | |
8 | .if !empty(PKG_OPTIONS:Mapache22) || !empty(PKG_OPTIONS:Mserf) | | 13 | .if !empty(PKG_OPTIONS:Mapache22) || !empty(PKG_OPTIONS:Mserf) |
9 | PKG_OPTIONS+= apr1 | | 14 | PKG_OPTIONS+= apr1 |
10 | .endif | | 15 | .endif |
11 | | | 16 | |
12 | .if !empty(PKG_OPTIONS:Mapr1) && empty(PKG_OPTIONS:Mapache22) | | 17 | .if !empty(PKG_OPTIONS:Mapr1) && empty(PKG_OPTIONS:Mapache22) |
13 | PKG_OPTIONS+= apache22 | | 18 | PKG_OPTIONS+= apache22 |
14 | .endif | | 19 | .endif |