summaryrefslogtreecommitdiff
path: root/geography/mapserver
diff options
context:
space:
mode:
Diffstat (limited to 'geography/mapserver')
-rw-r--r--geography/mapserver/options.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/geography/mapserver/options.mk b/geography/mapserver/options.mk
index e2a90dc8303..703b3cb8259 100644
--- a/geography/mapserver/options.mk
+++ b/geography/mapserver/options.mk
@@ -1,12 +1,20 @@
-# $NetBSD: options.mk,v 1.1 2010/01/26 09:01:24 adam Exp $
+# $NetBSD: options.mk,v 1.2 2010/01/27 08:12:19 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mapserver
-PKG_SUPPORTED_OPTIONS= pgsql mysql
+PKG_SUPPORTED_OPTIONS= fastcgi pgsql mysql
PKG_SUGGESTED_OPTIONS= # empty
.include "../../mk/bsd.options.mk"
#
+# FastCGI support
+#
+.if !empty(PKG_OPTIONS:Mfastcgi)
+.include "../../www/fcgi/buildlink3.mk"
+CONFIGURE_ARGS+= --with-fastcgi
+.endif
+
+#
# PostgreSQL/PostGIS support
#
.if !empty(PKG_OPTIONS:Mpgsql)