pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/mapserver Added fastcgi as an option (to boo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/806af1374183
branches:  trunk
changeset: 570219:806af1374183
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 27 08:12:19 2010 +0000

description:
Added fastcgi as an option (to boost mapserver's performance)

diffstat:

 geography/mapserver/options.mk |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 4f30da108431 -r 806af1374183 geography/mapserver/options.mk
--- a/geography/mapserver/options.mk    Wed Jan 27 08:03:00 2010 +0000
+++ b/geography/mapserver/options.mk    Wed Jan 27 08:12:19 2010 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index