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