diff options
| author | Astellar | 2011-07-27 23:02:38 +0400 |
|---|---|---|
| committer | Mike McQuaid | 2011-07-28 21:57:41 +0100 |
| commit | 6f7dffe0c2bb94ef27c56c044bf08c71050772c1 (patch) | |
| tree | 2961adf3c5d16e58b3ebdcfd6b217a2c4de4a4e7 /Library | |
| parent | b5e629a9c9280352e3a779f22d038766e69b3abd (diff) | |
| download | homebrew-6f7dffe0c2bb94ef27c56c044bf08c71050772c1.tar.bz2 | |
Updated Boost to 1.47.0
Do not set fails_with_llvm for XCode 4.1 and later, as according
to release notes LLVM compiler provided by it is now among primary
test compilers, LLVM-GCC is working too.
Closes #6669.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/boost.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index 222e67075..cc882294d 100644 --- a/Library/Formula/boost.rb +++ b/Library/Formula/boost.rb @@ -2,10 +2,8 @@ require 'formula' class Boost < Formula homepage 'http://www.boost.org' - url 'http://downloads.sourceforge.net/project/boost/boost/1.46.1/boost_1_46_1.tar.bz2' - md5 '7375679575f4c8db605d426fc721d506' - bottle 'https://downloads.sourceforge.net/project/machomebrew/Bottles/boost-1.46.1-bottle.tar.gz' - bottle_sha1 '15382f3aed119d207f0cdab7f089d284af1b3bbf' + url 'http://downloads.sourceforge.net/project/boost/boost/1.47.0/boost_1_47_0.tar.bz2' + md5 'a2dc343f7bc7f83f8941e47ed4a18200' def options [ @@ -14,7 +12,11 @@ class Boost < Formula ] end - fails_with_llvm "LLVM-GCC causes errors with dropped arguments to functions when linking with boost" + # Both clang and llvm-gcc provided by XCode 4.1 compile Boost 1.47.0 properly. + # Moreover, Apple LLVM compiler 2.1 is now among primary test compilers. + if MacOS.xcode_version < "4.1" + fails_with_llvm "LLVM-GCC causes errors with dropped arguments to functions when linking with boost" + end def install if ARGV.build_universal? |
