diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/grass.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/grass.rb b/Library/Formula/grass.rb index dba5c04aa..246e2bded 100644 --- a/Library/Formula/grass.rb +++ b/Library/Formula/grass.rb @@ -4,8 +4,8 @@ class Grass < Formula homepage 'http://grass.osgeo.org/' stable do - url "http://grass.osgeo.org/grass64/source/grass-6.4.3.tar.gz" - sha1 "925da985f3291c41c7a0411eaee596763f7ff26e" + url "http://grass.osgeo.org/grass64/source/grass-6.4.4.tar.gz" + sha1 "0e4dac9fb3320a26e4f640f641485fde0323dd46" # Patches that files are not installed outside of the prefix. patch :DATA @@ -86,6 +86,12 @@ class Grass < Formula args << "--with-wxwidgets=#{Formula["wxmac"].opt_bin}/wx-config" end + if build.with? "wxpython" + python_site_packages = HOMEBREW_PREFIX/"lib/python2.7/site-packages" + default_wx_path = File.read(python_site_packages/"wx.pth").strip + ENV.prepend_path "PYTHONPATH", python_site_packages/default_wx_path + end + args << "--enable-64bit" if MacOS.prefer_64_bit? args << "--with-macos-archs=#{MacOS.preferred_arch}" |
