summaryrefslogtreecommitdiff
path: root/geography/mapserver
diff options
context:
space:
mode:
authoradam <adam>2010-01-27 08:12:19 +0000
committeradam <adam>2010-01-27 08:12:19 +0000
commit90bb8e12ec02f4765ae2557196a6da08366bea11 (patch)
treecf76b992fe4df1fdcbed995874f709e9d1065108 /geography/mapserver
parent639c8c0a72e84e4d57af3654aba04fafefe7f809 (diff)
downloadpkgsrc-90bb8e12ec02f4765ae2557196a6da08366bea11.tar.gz
Added fastcgi as an option (to boost mapserver's performance)
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)