| @@ -1,34 +1,34 @@ | | | @@ -1,34 +1,34 @@ |
1 | # $NetBSD: options.mk,v 1.4 2013/09/19 05:03:13 obache Exp $ | | 1 | # $NetBSD: options.mk,v 1.5 2016/07/07 08:57:06 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.mapserver | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.mapserver |
4 | PKG_SUPPORTED_OPTIONS= fastcgi pgsql mysql x11 | | 4 | PKG_SUPPORTED_OPTIONS= fastcgi pgsql mysql x11 |
5 | PKG_SUGGESTED_OPTIONS= x11 | | 5 | PKG_SUGGESTED_OPTIONS= x11 |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | # | | 9 | # |
10 | # FastCGI support | | 10 | # FastCGI support |
11 | # | | 11 | # |
12 | .if !empty(PKG_OPTIONS:Mfastcgi) | | 12 | .if !empty(PKG_OPTIONS:Mfastcgi) |
13 | .include "../../www/fcgi/buildlink3.mk" | | 13 | .include "../../www/fcgi/buildlink3.mk" |
14 | CONFIGURE_ARGS+= --with-fastcgi | | 14 | CONFIGURE_ARGS+= --with-fastcgi |
15 | .endif | | 15 | .endif |
16 | | | 16 | |
17 | # | | 17 | # |
18 | # PostgreSQL/PostGIS support | | 18 | # PostgreSQL/PostGIS support |
19 | # | | 19 | # |
20 | .if !empty(PKG_OPTIONS:Mpgsql) | | 20 | .if !empty(PKG_OPTIONS:Mpgsql) |
21 | .include "../../databases/postgresql-postgis/buildlink3.mk" | | 21 | .include "../../databases/postgresql-postgis2/buildlink3.mk" |
22 | CONFIGURE_ARGS+= --with-postgis | | 22 | CONFIGURE_ARGS+= --with-postgis |
23 | .endif | | 23 | .endif |
24 | | | 24 | |
25 | # | | 25 | # |
26 | # MySQL/MyGIS support | | 26 | # MySQL/MyGIS support |
27 | # | | 27 | # |
28 | .if !empty(PKG_OPTIONS:Mmysql) | | 28 | .if !empty(PKG_OPTIONS:Mmysql) |
29 | .include "../../mk/mysql.buildlink3.mk" | | 29 | .include "../../mk/mysql.buildlink3.mk" |
30 | CONFIGURE_ARGS+= --with-mygis | | 30 | CONFIGURE_ARGS+= --with-mygis |
31 | .endif | | 31 | .endif |
32 | | | 32 | |
33 | # | | 33 | # |
34 | # x11 (xpm) support | | 34 | # x11 (xpm) support |