| @@ -1,30 +1,27 @@ | | | @@ -1,30 +1,27 @@ |
1 | # $NetBSD: options.mk,v 1.1 2013/04/21 13:59:34 ryoon Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2019/09/26 08:33:31 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.rt4 | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.rt4 |
4 | PKG_OPTIONS_REQUIRED_GROUPS= backend frontend | | 4 | PKG_OPTIONS_REQUIRED_GROUPS= backend frontend |
5 | PKG_OPTIONS_GROUP.backend= mysql oracle pgsql sqlite | | 5 | PKG_OPTIONS_GROUP.backend= mysql oracle pgsql sqlite |
6 | PKG_OPTIONS_GROUP.frontend= fastcgi modperl1 modperl2 | | 6 | PKG_OPTIONS_GROUP.frontend= fastcgi modperl2 |
7 | PKG_SUGGESTED_OPTIONS= mysql fastcgi | | 7 | PKG_SUGGESTED_OPTIONS= mysql fastcgi |
8 | | | 8 | |
9 | .include "../../mk/bsd.options.mk" | | 9 | .include "../../mk/bsd.options.mk" |
10 | | | 10 | |
11 | # Frontend dependencies | | 11 | # Frontend dependencies |
12 | .if !empty(PKG_OPTIONS:Mfastcgi) | | 12 | .if !empty(PKG_OPTIONS:Mfastcgi) |
13 | DEPENDS+= p5-FCGI>=0.74:../../www/p5-FCGI | | 13 | DEPENDS+= p5-FCGI>=0.74:../../www/p5-FCGI |
14 | DEPENDS+= p5-FCGI-ProcManager-[0-9]*:../../www/p5-FCGI-ProcManager | | 14 | DEPENDS+= p5-FCGI-ProcManager-[0-9]*:../../www/p5-FCGI-ProcManager |
15 | .elif !empty(PKG_OPTIONS:Mmodperl1) | | | |
16 | DEPENDS+= p5-libapreq-[0-9]*:../../www/p5-libapreq | | | |
17 | DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI | | | |
18 | .elif !empty(PKG_OPTIONS:Mmodperl2) | | 15 | .elif !empty(PKG_OPTIONS:Mmodperl2) |
19 | DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI | | 16 | DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI |
20 | DEPENDS+= p5-HTML-Mason>=1.36:../../www/p5-HTML-Mason | | 17 | DEPENDS+= p5-HTML-Mason>=1.36:../../www/p5-HTML-Mason |
21 | .endif | | 18 | .endif |
22 | | | 19 | |
23 | | | 20 | |
24 | # Backend database dependencies | | 21 | # Backend database dependencies |
25 | .if !empty(PKG_OPTIONS:Mmysql) | | 22 | .if !empty(PKG_OPTIONS:Mmysql) |
26 | DEPENDS+= p5-DBD-mysql>=2.1018:../../databases/p5-DBD-mysql | | 23 | DEPENDS+= p5-DBD-mysql>=2.1018:../../databases/p5-DBD-mysql |
27 | RT_DB_TYPE= mysql | | 24 | RT_DB_TYPE= mysql |
28 | .elif !empty(PKG_OPTIONS:Mpgsql) | | 25 | .elif !empty(PKG_OPTIONS:Mpgsql) |
29 | DEPENDS+= p5-DBD-postgresql>=1.43:../../databases/p5-DBD-postgresql | | 26 | DEPENDS+= p5-DBD-postgresql>=1.43:../../databases/p5-DBD-postgresql |
30 | RT_DB_TYPE= Pg | | 27 | RT_DB_TYPE= Pg |