From 06b9e7ac5b22bbcb5e7567394bd053e5bd7c13dd Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Thu, 26 Jan 2023 21:13:23 -0800 Subject: [PATCH] suricata: use stable python shebang The current shebang is `Formula["python@3.11"].libexec/"bin/python3"`, but this will be removed when `python@3.11` becomes the default. --- Formula/suricata.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/suricata.rb b/Formula/suricata.rb index c67cddccc3202..a51265bd8e621 100644 --- a/Formula/suricata.rb +++ b/Formula/suricata.rb @@ -68,6 +68,7 @@ def install args << "--with-libpcap-libraries=#{Formula["libpcap"].opt_lib}" end + inreplace "configure", "for ac_prog in python3 ", "for ac_prog in python3.11 " system "./configure", *std_configure_args, *args system "make", "install-full"