Skip to content

Commit 4744882

Browse files
authored
Merge pull request Homebrew#182577 from Homebrew/zyre-head
zyre: fix head and use std_configure_args
2 parents fc48623 + 75e8b47 commit 4744882

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

Formula/z/zyre.rb

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
class Zyre < Formula
22
desc "Local Area Clustering for Peer-to-Peer Applications"
33
homepage "https://github.com/zeromq/zyre"
4-
url "https://github.com/zeromq/zyre/releases/download/v2.0.1/zyre-2.0.1.tar.gz"
5-
sha256 "0ba43fcdf70fa1f35b068843a90fdf50b34d65a9be7f2c193924a87a4031a98c"
64
license "MPL-2.0"
75

6+
stable do
7+
url "https://github.com/zeromq/zyre/releases/download/v2.0.1/zyre-2.0.1.tar.gz"
8+
sha256 "0ba43fcdf70fa1f35b068843a90fdf50b34d65a9be7f2c193924a87a4031a98c"
9+
10+
# Fix -flat_namespace being used on Big Sur and later.
11+
patch do
12+
url "https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff"
13+
sha256 "35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c"
14+
end
15+
end
16+
817
bottle do
918
sha256 cellar: :any, arm64_sonoma: "11ad219ac17051fbf7f1799a4dc8c371ab861a925639953c42a6879433210a38"
1019
sha256 cellar: :any, arm64_ventura: "1bb9b571c0bc0c5026e0fc411f34f3dd3669c9366e83c7a10ccb64ad039b013e"
@@ -21,6 +30,7 @@ class Zyre < Formula
2130

2231
head do
2332
url "https://github.com/zeromq/zyre.git", branch: "master"
33+
2434
depends_on "autoconf" => :build
2535
depends_on "automake" => :build
2636
depends_on "libtool" => :build
@@ -30,18 +40,9 @@ class Zyre < Formula
3040
depends_on "czmq"
3141
depends_on "zeromq"
3242

33-
# Fix -flat_namespace being used on Big Sur and later.
34-
patch do
35-
url "https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff"
36-
sha256 "35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c"
37-
end
38-
3943
def install
4044
system "./autogen.sh" if build.head?
41-
system "./configure", "--disable-debug",
42-
"--disable-dependency-tracking",
43-
"--disable-silent-rules",
44-
"--prefix=#{prefix}"
45+
system "./configure", "--disable-silent-rules", *std_configure_args
4546
system "make"
4647
system "make", "check-verbose"
4748
system "make", "install"

0 commit comments

Comments
 (0)