diff options
| author | Sean Lynch | 2012-06-14 13:30:08 -0700 |
|---|---|---|
| committer | Misty De Meo | 2012-06-15 09:11:59 -0500 |
| commit | 1a9defc10ce3e56cae9adb1a5fa5be44e8e08086 (patch) | |
| tree | b3dd2068a47ab81732bc74d850e6452d2eca6d27 /Library/Formula/mapserver.rb | |
| parent | 35506ed7537d42195a14d36eaaa96e230aa13af9 (diff) | |
| download | homebrew-1a9defc10ce3e56cae9adb1a5fa5be44e8e08086.tar.bz2 | |
mapserver: add optional support for fastcgi
Closes #12844.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula/mapserver.rb')
| -rw-r--r-- | Library/Formula/mapserver.rb | 6 |
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 |
