@@ -4,33 +4,28 @@ class Expect < Formula
44 url "https://downloads.sourceforge.net/project/expect/Expect/5.45.4/expect5.45.4.tar.gz"
55 sha256 "49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34"
66 license :public_domain
7- revision 2
7+ revision 3
88
99 livecheck do
1010 url :stable
1111 regex ( %r{url=.*?/expect-?v?(\d +(?:\. \d +)+)\. t}i )
1212 end
1313
1414 bottle do
15- rebuild 2
16- sha256 arm64_sequoia : "1155721ca9166f849b6ecc739a43ecfe6f20c056ff050f39e520f87f11ac8475"
17- sha256 arm64_sonoma : "25b5d92689067d186416b78ffa0524d5a02a3e1c7068db8998dffaed2dd02e0c"
18- sha256 arm64_ventura : "848515e0ab82921d9292b7a616d33dc02e9dfcaab91793ec4d5ef241c3e08f29"
19- sha256 arm64_monterey : "753d526bf20551dde2c60c1580989292e8c8f5f436da14b6901ec92a8bc30f6a"
20- sha256 arm64_big_sur : "664f8a8ff901cacbe76465d4f13dc0ca775ccb0b48b34fa0aeb02b1e2e4dfe82"
21- sha256 sonoma : "60f75545be4c3bc3f91dc895770d20654ee7112da5e92950ab49b3ef6e577538"
22- sha256 ventura : "25d93f37370c458e865d809dd3489c1843acdc21dd74cabf2413e49f15d7994b"
23- sha256 monterey : "37b95bd265607a74986db6259597e98963a0ff2d845533918105e9396b8f8d24"
24- sha256 big_sur : "8462f3377db850b33a44bea729acd7b8c516aca8ed24d70b155c6b965f6997b1"
25- sha256 x86_64_linux : "1386f4bebace25fb0635d385ada1481d5a176a80cf880bbcbf3612aacfccd570"
15+ sha256 arm64_sequoia : "bc49887735929062d3e347a111a7b53a0de95813652d626f00d9b5663ecb0c1d"
16+ sha256 arm64_sonoma : "67bbdee9a025af2b9a8be9a9f6a1692078f5ce4d2b6528b2bad75ff41154dee9"
17+ sha256 arm64_ventura : "095903e79761e107ffdca6ebf7833be3d83437977a1e7fd5e962f7d4a46014ba"
18+ sha256 sonoma : "8e07086c078379a4c6cdbde7b14b70376228b8a15798fc32059c9336287ce18b"
19+ sha256 ventura : "3e841e410fdcbb63b135eda50a712df978fa54e6288347718a63fcc77d5cb8e7"
20+ sha256 x86_64_linux : "500bbf556dea3b9536753959c9a2a7c6c8b8d79ac929ce3008529812b62f6209"
2621 end
2722
2823 # Autotools are introduced here to regenerate configure script. Remove
2924 # if the patch has been applied in newer releases.
3025 depends_on "autoconf" => :build
3126 depends_on "automake" => :build
3227 depends_on "libtool" => :build
33- depends_on "tcl-tk"
28+ depends_on "tcl-tk@8 "
3429
3530 conflicts_with "ircd-hybrid" , because : "both install an `mkpasswd` binary"
3631 conflicts_with "bash-snippets" , because : "both install `weather` binaries"
@@ -52,7 +47,7 @@ class Expect < Formula
5247 end
5348
5449 def install
55- tcltk = Formula [ "tcl-tk" ]
50+ tcltk = Formula [ "tcl-tk@8 " ]
5651 args = %W[
5752 --prefix=#{ prefix }
5853 --exec-prefix=#{ prefix }
@@ -77,13 +72,11 @@ def install
7772 system "make"
7873 system "make" , "install"
7974 lib . install_symlink Dir [ lib /"expect*/libexpect*" ]
80- if OS . mac?
81- bin . env_script_all_files libexec /"bin" ,
82- PATH : "#{ tcltk . opt_bin } :$PATH" ,
83- TCLLIBPATH : lib . to_s
84- # "expect" is already linked to "tcl-tk", no shim required
85- bin . install libexec /"bin/expect"
86- end
75+ bin . env_script_all_files libexec /"bin" ,
76+ PATH : "#{ tcltk . opt_bin } :$PATH" ,
77+ TCLLIBPATH : lib . to_s
78+ # "expect" is already linked to "tcl-tk", no shim required
79+ bin . install libexec /"bin/expect"
8780 end
8881
8982 test do
0 commit comments