aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgis.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/postgis.rb')
-rw-r--r--Library/Formula/postgis.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/postgis.rb b/Library/Formula/postgis.rb
index a35bfe3c7..c8843c286 100644
--- a/Library/Formula/postgis.rb
+++ b/Library/Formula/postgis.rb
@@ -18,7 +18,7 @@ class Postgis < Formula
depends_on 'proj'
depends_on 'geos'
- depends_on 'gtk+' if build.include? 'with-gui'
+ depends_on 'gtk+' if build.with? "gui"
# For GeoJSON and raster handling
depends_on 'json-c'
@@ -47,7 +47,7 @@ class Postgis < Formula
# gettext installations are.
"--disable-nls"
]
- args << '--with-gui' if build.include? 'with-gui'
+ args << '--with-gui' if build.with? "gui"
system './autogen.sh'
system './configure', *args