diff options
| author | Adam Vandenberg | 2012-03-10 20:39:45 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-10 20:39:45 -0800 |
| commit | f36c6d7b5db46162ae15ba32bafac22b320cadeb (patch) | |
| tree | 017ad5949f62f3fd54c796bc2005a8ea0c4f8c9f /Library/Formula | |
| parent | 72f94e82bfa0fc6203e379e17049b48df3e49509 (diff) | |
| download | homebrew-f36c6d7b5db46162ae15ba32bafac22b320cadeb.tar.bz2 | |
Gambit Scheme 4.6.4
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gambit-scheme.rb | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/Library/Formula/gambit-scheme.rb b/Library/Formula/gambit-scheme.rb index a587383cc..0bffa62db 100644 --- a/Library/Formula/gambit-scheme.rb +++ b/Library/Formula/gambit-scheme.rb @@ -1,9 +1,9 @@ require 'formula' class GambitScheme < Formula - url 'http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_2.tgz' homepage 'http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page' - md5 'f6230a1f1f56b8113e0b9e391074bcb0' + url 'http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_4.tgz' + md5 'f4a65f834b36b7ffbd0292021889a8e3' def options [ @@ -17,20 +17,15 @@ class GambitScheme < Formula fails_with_llvm "ld crashes during the build process or segfault at runtime", :build => 2335 def install - ENV.O2 # Gambit Scheme doesn't like full optimizations - - configure_args = [ - "--prefix=#{prefix}", - "--infodir=#{info}", - "--disable-debug", - # Recommended to improve the execution speed and compactness - # of the generated executables. Increases compilation times. - "--enable-single-host" - ] - - configure_args << "--enable-shared" if ARGV.include? '--enable-shared' - - system "./configure", *configure_args + args = ["--disable-debug", + "--prefix=#{prefix}", + "--infodir=#{info}", + # Recommended to improve the execution speed and compactness + # of the generated executables. Increases compilation times. + "--enable-single-host"] + args << "--enable-shared" if ARGV.include? '--enable-shared' + + system "./configure", *args system "make check" if ARGV.include? '--with-check' ENV.j1 |
