httping: migrate to `openssl@3`

Also make `gettext` a macOS-only runtime dependency for libintl

Closes #119871.

Signed-off-by: Patrick Linnane <patrick@linnane.io>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michael Cho 2023-01-05 13:41:02 -08:00 committed by BrewTestBot
parent 32ea983408
commit 2b772f2643
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 7 additions and 2 deletions

View File

@ -16,10 +16,15 @@ class Httping < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "db4d5364a17224f353ae268afb1ac9090814fb7cf656f88b757b5e325bb25c3a"
end
depends_on "gettext"
depends_on "openssl@1.1"
depends_on "gettext" => :build # for msgfmt
depends_on "openssl@3"
uses_from_macos "ncurses"
on_macos do
depends_on "gettext" # for libintl
end
def install
# Reported upstream, see: https://github.com/folkertvanheusden/HTTPing/issues/4
inreplace "utils.h", "useconds_t", "unsigned int"