diff options
| author | nibbles 2bits | 2012-06-09 03:52:10 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-09 07:30:52 -0700 |
| commit | b5bdc4afb8ea070522ad6b7c2eea5f700e191f32 (patch) | |
| tree | fd152679757038c31112daa69252e8f0b95dcb48 /Library | |
| parent | 91c2209c39bedcaa0ee667f83c35d7feb32347de (diff) | |
| download | homebrew-b5bdc4afb8ea070522ad6b7c2eea5f700e191f32.tar.bz2 | |
adol-c 2.3.0 and adjust inreplace
Upgrade adol-c to version 2.3.0
Adjust the inreplace to patch configure.ac also, because this
software tends to recreate configure on Lion and wipe out the
changes we inreplaced. Tested using clang and llvm.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/adol-c.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/adol-c.rb b/Library/Formula/adol-c.rb index fe2c9ba3b..2ba84ee9a 100644 --- a/Library/Formula/adol-c.rb +++ b/Library/Formula/adol-c.rb @@ -2,8 +2,8 @@ require 'formula' class AdolC < Formula homepage 'https://projects.coin-or.org/ADOL-C' - url 'http://www.coin-or.org/download/source/ADOL-C/ADOL-C-2.2.1.tgz' - md5 '5fe149865b47f77344ff910702da8b99' + url 'http://www.coin-or.org/download/source/ADOL-C/ADOL-C-2.3.0.tgz' + sha1 'd9124ce0b199cb8b841a9a9ec10d1fb31ed11b49' head 'https://projects.coin-or.org/svn/ADOL-C/trunk/', :using => :svn # HEAD contains bugfix for NaNs appearing in 2.2.1 @@ -14,7 +14,8 @@ class AdolC < Formula depends_on 'colpack' def install - inreplace "configure" do |s| + # Configure may get automatically regenerated. So patch configure.ac also. + inreplace %w(configure configure.ac) do |s| s.gsub! "readlink -f", "realpath" s.gsub! "lib64", "lib" end |
