| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.1 2011/11/02 21:13:17 marino Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2011/11/06 19:51:13 joerg Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.tbox-dfly | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.tbox-dfly |
4 | PKG_SUPPORTED_OPTIONS= pgsql mysql webui anybody lsof emailer | | 4 | PKG_SUPPORTED_OPTIONS= pgsql mysql webui anybody lsof emailer |
5 | PKG_SUGGESTED_OPTIONS= pgsql webui | | 5 | PKG_SUGGESTED_OPTIONS= pgsql webui |
6 | PLIST_VARS+= WEBUI | | 6 | PLIST_VARS+= WEBUI |
7 | | | 7 | |
8 | .include "../../mk/bsd.options.mk" | | 8 | .include "../../mk/bsd.options.mk" |
9 | | | 9 | |
10 | ######################################## | | 10 | ######################################## |
11 | # WEB INTERFACE AND DATABASE OPTIONS # | | 11 | # WEB INTERFACE AND DATABASE OPTIONS # |
12 | ######################################## | | 12 | ######################################## |
13 | | | 13 | |
14 | .if empty(PKG_OPTIONS:Mpgsql) && empty(PKG_OPTIONS:Mmysql) | | 14 | .if empty(PKG_OPTIONS:Mpgsql) && empty(PKG_OPTIONS:Mmysql) |
| @@ -22,27 +22,27 @@ PKG_FAIL_REASON+= "Please select either | | | @@ -22,27 +22,27 @@ PKG_FAIL_REASON+= "Please select either |
22 | | | 22 | |
23 | .if !empty(PKG_OPTIONS:Mmysql) | | 23 | .if !empty(PKG_OPTIONS:Mmysql) |
24 | .include "../../mk/mysql.buildlink3.mk" | | 24 | .include "../../mk/mysql.buildlink3.mk" |
25 | .endif | | 25 | .endif |
26 | | | 26 | |
27 | .if !empty(PKG_OPTIONS:Mwebui) | | 27 | .if !empty(PKG_OPTIONS:Mwebui) |
28 | PLIST.WEBUI= yes | | 28 | PLIST.WEBUI= yes |
29 | .include "../../lang/php/phpversion.mk" | | 29 | .include "../../lang/php/phpversion.mk" |
30 | .endif | | 30 | .endif |
31 | | | 31 | |
32 | .if !empty(PKG_OPTIONS:Mpgsql) | | 32 | .if !empty(PKG_OPTIONS:Mpgsql) |
33 | DEPENDS+= p5-DBD-postgresql>=2.12:../../databases/p5-DBD-postgresql | | 33 | DEPENDS+= p5-DBD-postgresql>=2.12:../../databases/p5-DBD-postgresql |
34 | .if !empty(PKG_OPTIONS:Mwebui) | | 34 | .if !empty(PKG_OPTIONS:Mwebui) |
35 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-MDB2_Driver_pgsql:../../databases/pear-MDB2_Driver_pgsql | | 35 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-MDB2_Driver_pgsql-[0-9]*:../../databases/pear-MDB2_Driver_pgsql |
36 | DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.1:../../databases/php-pgsql | | 36 | DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.1:../../databases/php-pgsql |
37 | .endif | | 37 | .endif |
38 | .endif | | 38 | .endif |
39 | | | 39 | |
40 | .if !empty(PKG_OPTIONS:Mmysql) | | 40 | .if !empty(PKG_OPTIONS:Mmysql) |
41 | DEPENDS+= p5-DBD-mysql>=4:../../databases/p5-DBD-mysql | | 41 | DEPENDS+= p5-DBD-mysql>=4:../../databases/p5-DBD-mysql |
42 | .if !empty(PKG_OPTIONS:Mwebui) | | 42 | .if !empty(PKG_OPTIONS:Mwebui) |
43 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-MDB2_Driver_mysql>1.5:../../databases/pear-MDB2_Driver_mysql | | 43 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-MDB2_Driver_mysql>1.5:../../databases/pear-MDB2_Driver_mysql |
44 | DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.1:../../databases/php-mysql | | 44 | DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.1:../../databases/php-mysql |
45 | .endif | | 45 | .endif |
46 | .endif | | 46 | .endif |
47 | | | 47 | |
48 | ##################### | | 48 | ##################### |