Skip to content

Commit 6122527

Browse files
authored
Merge pull request Homebrew#180557 from Homebrew/pdfgrep-linkage
pdfgrep: declare indirect deps with linkage
2 parents 7145e23 + 1a7130a commit 6122527

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

Formula/p/pdfgrep.rb

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ class Pdfgrep < Formula
66
license "GPL-2.0-only"
77

88
bottle do
9-
sha256 cellar: :any, arm64_sonoma: "c0762f91b0ca5ad841b06af3bf2203fe9acd86a0f8e19847d1c33c3d461184cd"
10-
sha256 cellar: :any, arm64_ventura: "02a024177be543d2744302ea206c3ba02ffeb87a84c8e8e26f66a1847c0b84c9"
11-
sha256 cellar: :any, arm64_monterey: "ff8abcf9a428a1a30b177dc2cb61fce86ad3832a1f4ebb7d328c673f4ec3a6c4"
12-
sha256 cellar: :any, sonoma: "4bb38a435fdbd3054fc17ef953d3d1af7d9b667c021ed50522e2eb0e259cf21d"
13-
sha256 cellar: :any, ventura: "b101752d7babcffe86816fe6ea2d153e73b55150b1b7dc3348f05129b785012c"
14-
sha256 cellar: :any, monterey: "9d20ab009e555a217357e45ba7289a4869264e867daebe4f622bd9ffd5ea21ee"
15-
sha256 cellar: :any_skip_relocation, x86_64_linux: "e1cf1566232f3a00551158c128251dbaeefa86008f83c6e7ce3191eec5929910"
9+
rebuild 1
10+
sha256 cellar: :any, arm64_sonoma: "633fdf9703a8e5bf2e912cc6005566ae42bf2b54658b611f911967afd7d1db14"
11+
sha256 cellar: :any, arm64_ventura: "27acab326508534e95f2188d3c7bb6c4233fba992e1ff764099063498c4be597"
12+
sha256 cellar: :any, arm64_monterey: "881bdac5140488c24e2bbfd7943bb2c70438ab5eee974f702d62108c2dbd26cc"
13+
sha256 cellar: :any, sonoma: "d9c657ebf312c7e65b013f4e3dd2d056ddff7d8a25ff6bd34fc8ad90fdc6c28e"
14+
sha256 cellar: :any, ventura: "c3e85542c3a9556194e659652477bb90a04d487c68177849cbae3b71225576e2"
15+
sha256 cellar: :any, monterey: "3f6beec10ef5fefe10b2edbd79e5a29c2e4bc1f22441bf2e39a190da83e3c692"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "2d612d28c6b3c3b38ddb2501561ab464eab78afce88d1fb2537f3aa266ee6778"
1617
end
1718

1819
head do
@@ -24,18 +25,22 @@ class Pdfgrep < Formula
2425

2526
depends_on "pkg-config" => :build
2627
depends_on "libgcrypt"
27-
depends_on "pcre" # PCRE2 issue: https://gitlab.com/pdfgrep/pdfgrep/-/issues/58
28+
depends_on "pcre2"
2829
depends_on "poppler"
2930

31+
on_macos do
32+
depends_on "libgpg-error"
33+
end
34+
3035
fails_with gcc: "5"
3136

3237
def install
38+
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
39+
3340
ENV.cxx11
3441
system "./autogen.sh" if build.head?
3542

36-
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
37-
38-
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
43+
system "./configure", *std_configure_args.reject { |s| s["--disable-debug"] }
3944
system "make", "install"
4045
end
4146

0 commit comments

Comments
 (0)