diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gambit-scheme.rb | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Library/Formula/gambit-scheme.rb b/Library/Formula/gambit-scheme.rb index 5231645ff..f52f8090e 100644 --- a/Library/Formula/gambit-scheme.rb +++ b/Library/Formula/gambit-scheme.rb @@ -5,14 +5,8 @@ class GambitScheme < Formula url 'http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_6.tgz' sha256 '4e8b18bb350124138d1f9bf143dda0ab5e55f3c3d489a6dc233a15a003f161d2' - def options - [ - ['--with-check', 'Execute "make check" before installing. Runs some basic scheme programs to ensure that gsi and gsc are working'], - ['--enable-shared', 'Build Gambit Scheme runtime as shared library'] - ] - end - - skip_clean :all + option 'with-check', 'Execute "make check" before installing' + option 'enable-shared', 'Build Gambit Scheme runtime as shared library' fails_with :llvm do build 2335 @@ -26,7 +20,7 @@ class GambitScheme < Formula # 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' + args << "--enable-shared" if build.include? 'enable-shared' unless ENV.compiler == :gcc opoo <<-EOS.undent @@ -37,7 +31,7 @@ class GambitScheme < Formula end system "./configure", *args - system "make check" if ARGV.include? '--with-check' + system "make check" if build.include? 'with-check' ENV.j1 system "make" |
