aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgis.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-03-06 20:40:26 +0000
committerMike McQuaid2014-03-08 00:54:35 +0000
commit9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9 (patch)
tree2c9f666ed5bda1fdf28f56b4637fb4d6c5ccc0a1 /Library/Formula/postgis.rb
parente6dd316f1e5988f50f524c627c38ce5473097cc1 (diff)
downloadhomebrew-9de9f8d10e8e6d8c2d7cf7b74e6085038fc728d9.tar.bz2
formulae: fix with/without usage.
Closes #27275. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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