Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add optional support for fastcgi.

  • Loading branch information...
commit e1a533e0cf6090db01f71f3499680e72c0eb13d4 1 parent b1cb340
Sean Richard Lynch authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 Library/Formula/mapserver.rb
5 Library/Formula/mapserver.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.