nghttp2: add upstream-recommended jemalloc dep
Closes #4699. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
fa4f7fbe52
commit
0de98c7102
1 changed files with 7 additions and 4 deletions
|
@ -3,6 +3,7 @@ class Nghttp2 < Formula
|
|||
homepage "https://nghttp2.org/"
|
||||
url "https://github.com/nghttp2/nghttp2/releases/download/v1.14.1/nghttp2-1.14.1.tar.xz"
|
||||
sha256 "2dfa665cd898b0b03ce304d9fc2e20c6c5facf56b212e4b2b1834ed6314c897e"
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
sha256 "004807e79479b32a3cc9e36320c478cf811ec8f8a74a53291a5dd40f56ffb1a1" => :sierra
|
||||
|
@ -34,10 +35,11 @@ class Nghttp2 < Formula
|
|||
depends_on "jansson"
|
||||
depends_on "boost"
|
||||
depends_on "spdylay"
|
||||
depends_on "jemalloc" => :recommended
|
||||
|
||||
resource "Cython" do
|
||||
url "https://pypi.python.org/packages/b1/51/bd5ef7dff3ae02a2c6047aa18d3d06df2fb8a40b00e938e7ea2f75544cac/Cython-0.24.tar.gz"
|
||||
sha256 "6de44d8c482128efc12334641347a9c3e5098d807dd3c69e867fa8f84ec2a3f1"
|
||||
url "https://pypi.python.org/packages/c6/fe/97319581905de40f1be7015a0ea1bd336a756f6249914b148a17eefa75dc/Cython-0.24.1.tar.gz"
|
||||
sha256 "84808fda00508757928e1feadcf41c9f78e9a9b7167b6649ab0933b76f75e7b9"
|
||||
end
|
||||
|
||||
# https://github.com/tatsuhiro-t/nghttp2/issues/125
|
||||
|
@ -54,12 +56,13 @@ class Nghttp2 < Formula
|
|||
--enable-app
|
||||
--with-boost=#{Formula["boost"].opt_prefix}
|
||||
--enable-asio-lib
|
||||
--with-spdylay
|
||||
--disable-python-bindings
|
||||
]
|
||||
|
||||
args << "--enable-examples" if build.with? "examples"
|
||||
args << "--with-spdylay"
|
||||
args << "--disable-python-bindings"
|
||||
args << "--with-xml-prefix=/usr" if MacOS.version > :lion
|
||||
args << "--without-jemalloc" if build.without? "jemalloc"
|
||||
|
||||
system "autoreconf", "-ivf" if build.head?
|
||||
system "./configure", *args
|
||||
|
|
Loading…
Reference in a new issue