aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-13 21:52:22 -0800
committerAdam Vandenberg2013-11-13 22:06:07 -0800
commitcd10b00406d0549668bdb3191a4cc37cf245c144 (patch)
tree9c64e3f3b4210d8fa7e1301eb1b623e886e393a3 /Library/Formula
parent94663ee0964773bbedead34e0ff76a0757c513ac (diff)
downloadhomebrew-cd10b00406d0549668bdb3191a4cc37cf245c144.tar.bz2
grass: enable build on 10.9
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/grass.rb12
1 files changed, 4 insertions, 8 deletions
diff --git a/Library/Formula/grass.rb b/Library/Formula/grass.rb
index de9ac0de9..f84b101ce 100644
--- a/Library/Formula/grass.rb
+++ b/Library/Formula/grass.rb
@@ -2,16 +2,14 @@ require 'formula'
class Grass < Formula
homepage 'http://grass.osgeo.org/'
+ head 'https://svn.osgeo.org/grass/grass/trunk'
url 'http://grass.osgeo.org/grass64/source/grass-6.4.3.tar.gz'
sha1 '925da985f3291c41c7a0411eaee596763f7ff26e'
- head 'https://svn.osgeo.org/grass/grass/trunk'
-
option "without-gui", "Build without WxPython interface. Command line tools still available."
- # build failing on snow leopard
depends_on :macos => :lion
- depends_on 'apple-gcc42' if MacOS.version == :mountain_lion
+ depends_on 'apple-gcc42' if MacOS.version >= :mountain_lion
depends_on "pkg-config" => :build
depends_on :python
depends_on "gettext"
@@ -20,7 +18,7 @@ class Grass < Formula
depends_on "libtiff"
depends_on "unixodbc"
depends_on "fftw"
- depends_on 'wxmac' => :recommended # prefer over OS X's version because of 64bit
+ depends_on "wxmac" => :recommended # prefer over OS X's version because of 64bit
depends_on :postgresql => :optional
depends_on :mysql => :optional
depends_on "cairo"
@@ -87,9 +85,7 @@ class Grass < Formula
args << "--with-cairo"
# Database support
- if build.with? "postgres"
- args << "--with-postgres"
- end
+ args << "--with-postgres" if build.with? "postgres"
if build.with? "mysql"
mysql = Formula.factory('mysql')