diff options
| author | Adam Vandenberg | 2014-05-13 11:11:51 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-13 11:11:51 -0700 |
| commit | 3ab8891a187463c91e87d757f010385898b8f7c7 (patch) | |
| tree | 1f0f003e3f5f68a68941206675bdfe27877a31c8 /Library/Formula | |
| parent | 4febb47ae8b280ef3c4a403aff242510ff933450 (diff) | |
| download | homebrew-3ab8891a187463c91e87d757f010385898b8f7c7.tar.bz2 | |
minisat: fails with clang
Closes #28778.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/minisat.rb | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Library/Formula/minisat.rb b/Library/Formula/minisat.rb index 3713ece31..08ba5ad7e 100644 --- a/Library/Formula/minisat.rb +++ b/Library/Formula/minisat.rb @@ -1,19 +1,22 @@ -require 'formula' +require "formula" class Minisat < Formula - homepage 'http://minisat.se' - url 'https://github.com/niklasso/minisat/archive/releases/2.2.0.tar.gz' - sha1 '28c14eed485f4adb8dde9e26f05476f7eedc8f77' + homepage "http://minisat.se" + url "https://github.com/niklasso/minisat/archive/releases/2.2.0.tar.gz" + sha1 "28c14eed485f4adb8dde9e26f05476f7eedc8f77" - # Fixes compilation on mac; in next upstream release. See: + # Fix some declaration errors; see: # http://groups.google.com/group/minisat/browse_thread/thread/f5b6a180cadbb214 patch :DATA + fails_with :clang do + cause "error: friend declaration specifying a default argument must be a definition" + end + def install - ENV['MROOT'] = Dir.pwd - Dir.chdir 'simp' - system "make", "r" - bin.install 'minisat_release' => 'minisat' + ENV["MROOT"] = buildpath + system "make", "-C", "simp", "r" + bin.install "simp/minisat_release" => "minisat" end end |
