List existing "cdb" option in PKG_SUPPORTED_OPTIONS to make it somewhat less useless. :-)diff -r1.34 -r1.35 pkgsrc/mail/postfix/options.mk
(ghen)
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: options.mk,v 1.34 2008/10/16 09:49:13 martti Exp $ | 1 | # $NetBSD: options.mk,v 1.35 2009/11/12 15:52:26 ghen Exp $ | |
2 | 2 | |||
3 | # Global and legacy options | 3 | # Global and legacy options | |
4 | 4 | |||
5 | PKG_OPTIONS_VAR= PKG_OPTIONS.postfix | 5 | PKG_OPTIONS_VAR= PKG_OPTIONS.postfix | |
6 | PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl sqlite tls | 6 | PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl sqlite tls cdb | |
7 | PKG_SUGGESTED_OPTIONS= tls | 7 | PKG_SUGGESTED_OPTIONS= tls | |
8 | 8 | |||
9 | .include "../../mk/bsd.options.mk" | 9 | .include "../../mk/bsd.options.mk" | |
10 | 10 | |||
11 | ### | 11 | ### | |
12 | ### Support "hash" (Berkeley DB) map type. | 12 | ### Support "hash" (Berkeley DB) map type. | |
13 | ### | 13 | ### | |
14 | .if empty(PKG_OPTIONS:Mbdb) | 14 | .if empty(PKG_OPTIONS:Mbdb) | |
15 | PKG_OPTIONS+= bdb # "hash" map type is mandatory | 15 | PKG_OPTIONS+= bdb # "hash" map type is mandatory | |
16 | .endif | 16 | .endif | |
17 | .if !empty(PKG_OPTIONS:Mbdb) | 17 | .if !empty(PKG_OPTIONS:Mbdb) | |
18 | . include "../../mk/bdb.buildlink3.mk" | 18 | . include "../../mk/bdb.buildlink3.mk" | |
19 | CCARGS+= -DHAS_DB | 19 | CCARGS+= -DHAS_DB |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: options.mk,v 1.25 2008/10/16 09:49:13 martti Exp $ | 1 | # $NetBSD: options.mk,v 1.26 2009/11/12 15:52:26 ghen Exp $ | |
2 | 2 | |||
3 | # Global and legacy options | 3 | # Global and legacy options | |
4 | 4 | |||
5 | PKG_OPTIONS_VAR= PKG_OPTIONS.postfix | 5 | PKG_OPTIONS_VAR= PKG_OPTIONS.postfix | |
6 | PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl sqlite tls | 6 | PKG_SUPPORTED_OPTIONS= bdb ldap mysql mysql4 pcre pgsql sasl sqlite tls cdb | |
7 | PKG_SUGGESTED_OPTIONS= tls | 7 | PKG_SUGGESTED_OPTIONS= tls | |
8 | 8 | |||
9 | .include "../../mk/bsd.options.mk" | 9 | .include "../../mk/bsd.options.mk" | |
10 | 10 | |||
11 | ### | 11 | ### | |
12 | ### Support "hash" (Berkeley DB) map type. | 12 | ### Support "hash" (Berkeley DB) map type. | |
13 | ### | 13 | ### | |
14 | .if empty(PKG_OPTIONS:Mbdb) | 14 | .if empty(PKG_OPTIONS:Mbdb) | |
15 | PKG_OPTIONS+= bdb # "hash" map type is mandatory | 15 | PKG_OPTIONS+= bdb # "hash" map type is mandatory | |
16 | .endif | 16 | .endif | |
17 | .if !empty(PKG_OPTIONS:Mbdb) | 17 | .if !empty(PKG_OPTIONS:Mbdb) | |
18 | . include "../../mk/bdb.buildlink3.mk" | 18 | . include "../../mk/bdb.buildlink3.mk" | |
19 | CCARGS+= -DHAS_DB | 19 | CCARGS+= -DHAS_DB |