aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Lynch2012-06-14 13:30:08 -0700
committerMisty De Meo2012-06-15 09:11:59 -0500
commit1a9defc10ce3e56cae9adb1a5fa5be44e8e08086 (patch)
treeb3dd2068a47ab81732bc74d850e6452d2eca6d27
parent35506ed7537d42195a14d36eaaa96e230aa13af9 (diff)
downloadhomebrew-1a9defc10ce3e56cae9adb1a5fa5be44e8e08086.tar.bz2
mapserver: add optional support for fastcgi
Closes #12844. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
-rw-r--r--Library/Formula/mapserver.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/mapserver.rb b/Library/Formula/mapserver.rb
index 3922c29fc..d9c3c4e58 100644
--- a/Library/Formula/mapserver.rb
+++ b/Library/Formula/mapserver.rb
@@ -11,9 +11,11 @@ class Mapserver < Formula
depends_on 'geos' if ARGV.include? '--with-geos'
depends_on 'postgresql' if ARGV.include? '--with-postgresql' and not MacOS.lion?
+ depends_on 'fcgi' if ARGV.include? '--with-fastcgi'
def options
[
+ ["--with-fastcgi", "Build with fastcgi support"],
["--with-geos", "Build support for GEOS spatial operations"],
["--with-php", "Build PHP MapScript module"],
["--with-postgresql", "Build support for PostgreSQL as a data source"]
@@ -40,6 +42,10 @@ class Mapserver < Formula
end
end
+ if ARGV.include? '--with-fastcgi'
+ args.push "--with-fastcgi=#{HOMEBREW_PREFIX}"
+ end
+
args
end