diff options
Diffstat (limited to 'Library/Formula')
| -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? |
