1 # $NetBSD: options.mk,v 1.2 2010/01/27 08:12:19 adam Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.mapserver
4 PKG_SUPPORTED_OPTIONS= fastcgi pgsql mysql x11
5 PKG_SUGGESTED_OPTIONS= x11
7 .include "../../mk/bsd.options.mk"
12 .if !empty(PKG_OPTIONS:Mfastcgi)
13 .include "../../www/fcgi/buildlink3.mk"
14 CONFIGURE_ARGS+= --with-fastcgi
18 # PostgreSQL/PostGIS support
20 .if !empty(PKG_OPTIONS:Mpgsql)
21 .include "../../databases/postgresql-postgis/buildlink3.mk"
22 CONFIGURE_ARGS+= --with-postgis
28 .if !empty(PKG_OPTIONS:Mmysql)
29 .include "../../databases/mysql5-client/buildlink3.mk"
30 CONFIGURE_ARGS+= --with-mygis
36 .if !empty(PKG_OPTIONS:Mx11)
37 .include "../../x11/libXpm/buildlink3.mk"
39 CONFIGURE_ARGS+= --without-xpm