diff options
| author | Nibbles 2bits | 2012-02-13 19:35:24 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-13 21:54:29 -0800 |
| commit | 953ecf49517e5387f4c7c377fec314ed1f3c2b45 (patch) | |
| tree | a8fd43dcbe7e95f6272ca70db3f2c3137270b5a5 /Library | |
| parent | 84baeb20ff1f74ab93aa3ebf73b2ec4198721b9f (diff) | |
| download | homebrew-953ecf49517e5387f4c7c377fec314ed1f3c2b45.tar.bz2 | |
field3d 1.3.2
Upgrade field3d to version 1.3.2. Remove Clang compiler flags that
cause SCons to error during the build. Works on Lion and Snow Lep
with all five compilers now.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/field3d.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/field3d.rb b/Library/Formula/field3d.rb index 1e9891fbe..9aa191da3 100644 --- a/Library/Formula/field3d.rb +++ b/Library/Formula/field3d.rb @@ -1,9 +1,9 @@ require 'formula' class Field3d < Formula - url 'https://github.com/imageworks/Field3D/tarball/v1.2.0' + url 'https://github.com/imageworks/Field3D/tarball/v1.3.2' homepage 'https://sites.google.com/site/field3d/' - sha1 '1bbd1c7cadca96d5f0d58f3f2a27241d481e205f' + sha1 '6f4de442869587f7fa5ce6f5f8bd0630b6ae7192' depends_on 'cmake' => :build depends_on 'scons' => :build @@ -13,6 +13,11 @@ class Field3d < Formula depends_on 'hdf5' def install + # When compiling with Clang, remove flags that SCons can't parse + if ENV.compiler == :clang then + ENV.remove_from_cflags '-Xclang -target-feature -Xclang -aes' + end + # Set the compilers for Homebrew - was fixed to gcc & g++ inreplace 'SConstruct', 'env = Environment()', <<-EOS.undent |
