Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lz4: fix Cellar reference in .pc file #181636

Merged
merged 4 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
2 changes: 1 addition & 1 deletion Formula/f/flann.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Flann < Formula

Check warning on line 1 in Formula/f/flann.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew linkage --cached --test --strict flann` failed on macOS Sonoma (14) on Apple Silicon!

Indirect dependencies with linkage: lz4

Check warning on line 1 in Formula/f/flann.rb

View workflow job for this annotation

GitHub Actions / macOS 12-arm64

`brew linkage --cached --test --strict flann` failed on macOS Monterey (12) on Apple Silicon!

Indirect dependencies with linkage: lz4

Check warning on line 1 in Formula/f/flann.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew linkage --cached --test --strict flann` failed on macOS Ventura (13) on Apple Silicon!

Indirect dependencies with linkage: lz4

Check warning on line 1 in Formula/f/flann.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew linkage --cached --test --strict flann` failed on Linux!

Indirect dependencies with linkage: lz4

Check warning on line 1 in Formula/f/flann.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

`brew linkage --cached --test --strict flann` failed on macOS Sonoma (14)!

Indirect dependencies with linkage: lz4

Check warning on line 1 in Formula/f/flann.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

`brew linkage --cached --test --strict flann` failed on macOS Ventura (13)!

Indirect dependencies with linkage: lz4

Check warning on line 1 in Formula/f/flann.rb

View workflow job for this annotation

GitHub Actions / macOS 12-x86_64

`brew linkage --cached --test --strict flann` failed on macOS Monterey (12)!

Indirect dependencies with linkage: lz4
desc "Fast Library for Approximate Nearest Neighbors"
homepage "https://github.com/flann-lib/flann"
url "https://github.com/flann-lib/flann/archive/refs/tags/1.9.2.tar.gz"
sha256 "e26829bb0017f317d9cc45ab83ddcb8b16d75ada1ae07157006c1e7d601c8824"
license "BSD-3-Clause"
revision 1
revision 2

bottle do
sha256 cellar: :any, arm64_sonoma: "0fab1e551748ea6c3baca0dc9d9ce5655a44f95129bc2c6cb7f6c9aa5b30be2e"
Expand Down
2 changes: 2 additions & 0 deletions Formula/l/lz4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class Lz4 < Formula

def install
system "make", "install", "PREFIX=#{prefix}"
# Prevent dependents from hardcoding Cellar paths.
inreplace lib/"pkgconfig/liblz4.pc", prefix, opt_prefix
end

test do
Expand Down
Loading