aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gmp.rb
diff options
context:
space:
mode:
authorpascalbertrand2010-10-17 18:48:35 +0200
committerAdam Vandenberg2010-10-17 10:19:57 -0700
commitfe216a9dc3ff398fdb628338fc3282525fbb3b10 (patch)
tree1114e9f2bca60c9bbd566f66633875a544a31b26 /Library/Formula/gmp.rb
parent89a9cafed01d164fbed15a2852e01c0ce26cbf1a (diff)
downloadhomebrew-fe216a9dc3ff398fdb628338fc3282525fbb3b10.tar.bz2
gmp - Allow creating 32bit build on Snow Leopard
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Note that building 32-bit on Snow Leopard will cause other 64-bit brews to fail to find gmp.
Diffstat (limited to 'Library/Formula/gmp.rb')
-rw-r--r--Library/Formula/gmp.rb18
1 files changed, 8 insertions, 10 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb
index 3d765ac01..a37d4fd23 100644
--- a/Library/Formula/gmp.rb
+++ b/Library/Formula/gmp.rb
@@ -7,23 +7,21 @@ class Gmp <Formula
def options
[
- ["--skip-check", "Do not run 'make check' to verify libraries. (Not recommended.)"],
- ["--32-bit", "Force 32-bit on Leopard on 64-bit machines."]
+ ["--32-bit", "Force 32-bit."],
+ ["--skip-check", "Do not run 'make check' to verify libraries."]
]
end
def install
- fails_with_llvm "On OS X 10.6, some tests fail under LLVM"
+ fails_with_llvm "Tests fail to compile; missing references in 'llvm bitcode in libtests.a(misc.o)'."
args = ["--prefix=#{prefix}", "--infodir=#{info}", "--enable-cxx"]
- if MACOS_VERSION == 10.5
- if Hardware.is_32_bit? or ARGV.include? "--32-bit"
- ENV.m32
- args << "--host=none-apple-darwin"
- else
- ENV.m64
- end
+ if Hardware.is_32_bit? or ARGV.include? "--32-bit"
+ ENV.m32
+ args << "--host=none-apple-darwin"
+ else
+ ENV.m64
end
system "./configure", *args