aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/verilator.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/verilator.rb b/Library/Formula/verilator.rb
index 66fbd4433..35b33abcf 100644
--- a/Library/Formula/verilator.rb
+++ b/Library/Formula/verilator.rb
@@ -2,11 +2,15 @@ require 'formula'
class Verilator < Formula
homepage 'http://www.veripool.org/wiki/verilator'
- url 'http://www.veripool.org/ftp/verilator-3.833.tgz'
- sha1 '4ca58d609371b0a6309c5564a5e8ba6857aa15db'
+ url 'http://www.veripool.org/ftp/verilator-3.855.tgz'
+ sha1 '2c37c48cdcb10674b5c9583a0d2b4f241dbb6dc4'
skip_clean 'bin' # Allows perl scripts to keep their executable flag
+ # Needs a newer flex on Lion (and presumably below)
+ # http://www.veripool.org/issues/720-Verilator-verilator-not-building-on-Mac-OS-X-Lion-10-7-
+ depends_on "flex" if MacOS.version <= :lion
+
def install
system "./configure", "--prefix=#{prefix}"
system "make"