Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Formula/j/jj.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Jj < Formula
url "https://github.com/martinvonz/jj/archive/refs/tags/v0.19.0.tar.gz"
sha256 "d0b9db21894e65ec80fd7999f99023f1e65d15fa16b4ec76881247d9cd56dc55"
license "Apache-2.0"
revision 1
head "https://github.com/martinvonz/jj.git", branch: "main"

bottle do
Expand All @@ -18,7 +19,7 @@ class Jj < Formula

depends_on "pkg-config" => :build
depends_on "rust" => :build
depends_on "libgit2"
depends_on "libgit2@1.7"
depends_on "openssl@3"
uses_from_macos "zlib"

Expand All @@ -44,7 +45,7 @@ def check_binary_linkage(binary, library)
assert_predicate testpath/".jj", :exist?

[
Formula["libgit2"].opt_lib/shared_library("libgit2"),
Formula["libgit2@1.7"].opt_lib/shared_library("libgit2"),
Formula["openssl@3"].opt_lib/shared_library("libcrypto"),
Formula["openssl@3"].opt_lib/shared_library("libssl"),
].each do |library|
Expand Down