Permalink
Browse files

Add optional support for fastcgi.

  • Loading branch information...
1 parent b1cb340 commit e1a533e0cf6090db01f71f3499680e72c0eb13d4 @seanlynch committed Jun 14, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 Library/Formula/mapserver.rb
@@ -11,6 +11,7 @@ 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
[
@@ -40,6 +41,10 @@ def configure_args
end
end
+ if ARGV.include? '--with-fastcgi'
+ args.push "--with-fastcgi=#{HOMEBREW_PREFIX}"
+ end
+
args
end

0 comments on commit e1a533e

Please sign in to comment.