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