aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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