aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrandon R. Stoner2014-07-14 14:53:09 -0700
committerJack Nagel2014-07-14 22:16:27 -0500
commit856d66264f1d67419fb32078097804dfc5db64ad (patch)
treeb6b24339536b65d508c08789e70817008d23a23d /Library/Formula
parentee66b516a713bdc289a97b6ef375c16c74db1d1a (diff)
downloadhomebrew-856d66264f1d67419fb32078097804dfc5db64ad.tar.bz2
mongrel2 1.9.1
Closes #30866. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mongrel2.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/Library/Formula/mongrel2.rb b/Library/Formula/mongrel2.rb
index c7e8ccefe..1a6b1d403 100644
--- a/Library/Formula/mongrel2.rb
+++ b/Library/Formula/mongrel2.rb
@@ -2,19 +2,13 @@ require 'formula'
class Mongrel2 < Formula
homepage 'http://mongrel2.org/'
- url 'https://github.com/zedshaw/mongrel2/archive/v1.8.1.tar.gz'
- sha1 '11230cb59aa4834e017023c8f9b6519831d91767'
+ url 'https://github.com/zedshaw/mongrel2/releases/download/v1.9.1/mongrel2-v1.9.1.tar.gz'
+ sha1 'c06b71e23da9537b401e2743c9129a8d16ef6911'
head 'https://github.com/zedshaw/mongrel2.git'
depends_on 'zeromq'
- # allow mongrel2 to build against libzmq 4
- patch do
- url "https://gist.githubusercontent.com/minrk/7632116/raw/44d0ed09ecfc68a9f9d6a940c6367f703cd55c46/0001-add-zmq_compat-check-for-libzmq-4.patch"
- sha1 "f4279ced05362b916c1abf874c69781a66f55abf"
- end
-
def install
# Build in serial. See:
# https://github.com/Homebrew/homebrew/issues/8719
@@ -22,7 +16,7 @@ class Mongrel2 < Formula
# Mongrel2 pulls from these ENV vars instead
ENV['OPTFLAGS'] = "#{ENV.cflags} #{ENV.cppflags}"
- ENV['OPTLIBS'] = ENV.ldflags
+ ENV['OPTLIBS'] = "#{ENV.ldflags} -undefined dynamic_lookup"
system "make all"
system "make", "install", "PREFIX=#{prefix}"