git-series: add missing openssl dependency / OPENSSL_DIR env var
Fixes build when Homebrew is not installed to /usr/local. Closes #43527. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
e4fe43cd11
commit
df3f31607b
1 changed files with 5 additions and 0 deletions
|
@ -15,8 +15,13 @@ class GitSeries < Formula
|
|||
depends_on "cmake" => :build
|
||||
depends_on "rust" => :build
|
||||
depends_on "libssh2"
|
||||
depends_on "openssl"
|
||||
|
||||
def install
|
||||
# Ensure that the `openssl` crate picks up the intended library.
|
||||
# https://crates.io/crates/openssl#manual-configuration
|
||||
ENV["OPENSSL_DIR"] = Formula["openssl"].opt_prefix
|
||||
|
||||
system "cargo", "install", "--root", prefix, "--path", "."
|
||||
man1.install "git-series.1"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue