From b5447a1c0c5e4de9e22d39113e211ff1f4bbfcee Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sat, 1 Jan 2011 15:33:44 -0800 Subject: Update PostGIS HEAD build Bugfix: - The PostGIS HEAD requires libintl, which requires linking against keg-only gettext. Features: - Added options for enabling the topology and raster extensions that are present in the HEAD source. Signed-off-by: Adam Vandenberg --- Library/Formula/postgis.rb | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/postgis.rb b/Library/Formula/postgis.rb index 8069d1d83..0a40fff3f 100644 --- a/Library/Formula/postgis.rb +++ b/Library/Formula/postgis.rb @@ -1,5 +1,13 @@ require 'formula' +def raster? + ARGV.include? '--with-raster' +end + +def topology? + ARGV.include? '--with-topology' +end + class Postgis