File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 11class Pbc < Formula
22 desc "Pairing-based cryptography"
33 homepage "https://crypto.stanford.edu/pbc/"
4+ url "https://crypto.stanford.edu/pbc/files/pbc-1.0.0.tar.gz"
5+ sha256 "18275a367283077bafe35f443200499e3b19c4a3754953da2a1b2f0d6b5922dc"
46 license "LGPL-3.0-only"
57
6- stable do
7- url "https://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz"
8- sha256 "772527404117587560080241cedaf441e5cac3269009cdde4c588a1dce4c23d2"
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-pre-0.4.2.418-big_sur.diff"
13- sha256 "83af02f2aa2b746bb7225872cab29a253264be49db0ecebb12f841562d9a2923"
14- end
15- end
16-
178 livecheck do
189 url "https://crypto.stanford.edu/pbc/download.html"
1910 regex ( /href=.*?pbc[._-]v?(\d +(?:\. \d +)+)\. t/i )
@@ -53,6 +44,9 @@ class Pbc < Formula
5344 uses_from_macos "flex" => :build
5445
5546 def install
47+ # fix flex yywrap function detection issue
48+ ENV [ "ac_cv_search_yywrap" ] = "yes"
49+
5650 system "./setup" if build . head?
5751 system "./configure" , *std_configure_args
5852 system "make" , "install"
You can’t perform that action at this time.
0 commit comments