diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/icarus-verilog.rb | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/Library/Formula/icarus-verilog.rb b/Library/Formula/icarus-verilog.rb index e345ed7b3..434f0ba43 100644 --- a/Library/Formula/icarus-verilog.rb +++ b/Library/Formula/icarus-verilog.rb @@ -10,29 +10,13 @@ class IcarusVerilog < Formula sha1 '313ab0f5dc4d198bd4687daaf2e54749c67558b3' end - # Yes indeed, this software fails to compile out of the box with both - # LLVM and Clang. - - fails_with :llvm do - build '2336' - cause <<-EOS.undent - ld: warning: unexpected dylib (/usr/lib/libSystem.dylib) on link line - Assertion failed: (_machoSection != 0), function machoSection, file /SourceCache/ld64/ld64-128.2/src/ld/ld.hpp, line 565. - EOS - end - - fails_with :clang do - build '318' - cause <<-EOS.undent - ld: warning: unexpected dylib (/usr/lib/libSystem.dylib) on link line - Assertion failed: (_machoSection != 0), function machoSection, file /SourceCache/ld64/ld64-128.2/src/ld/ld.hpp, line 565. - EOS - end - def install + # Fixes an assertion when XCode-4.4 tries to link with clang or llvm-gcc. + ENV['LD'] = MacOS.locate("ld") system "./configure", "--prefix=#{prefix}" - system "make" # Separate steps, as install does not depend on compile properly - system "make install" + system 'make' + system 'make installdirs' + system 'make install' end end |
