From 1a9defc10ce3e56cae9adb1a5fa5be44e8e08086 Mon Sep 17 00:00:00 2001 From: Sean Lynch Date: Thu, 14 Jun 2012 13:30:08 -0700 Subject: mapserver: add optional support for fastcgi Closes #12844. Signed-off-by: Misty De Meo --- Library/Formula/mapserver.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula/mapserver.rb') 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 -- cgit v1.2.3