aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/hercules.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Formula/hercules.rb b/Library/Formula/hercules.rb
index 77ead8d9e..6de76c9c8 100644
--- a/Library/Formula/hercules.rb
+++ b/Library/Formula/hercules.rb
@@ -2,22 +2,17 @@ require 'formula'
class Hercules < Formula
homepage 'http://www.hercules-390.eu/'
- url 'http://downloads.hercules-390.eu/hercules-3.09.tar.gz'
- sha1 '5cbe89ec214de00b90e3077c27db636a7d2607f5'
+ url 'http://downloads.hercules-390.eu/hercules-3.10.tar.gz'
+ sha1 '10599041c7e5607cf2e7ecc76802f785043e2830'
skip_clean :la
- depends_on 'gawk'
-
def install
# Since Homebrew optimizes for us, tell Hercules not to.
# (It gets it wrong anyway.)
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-optimization=no"
- # Reported upstream:
- # https://github.com/rbowler/spinhawk/issues/16
- inreplace "hscutl.c", "SOL_TCP", "IPPROTO_TCP"
system "make"
system "make install"
end