Skip to content

Commit 615bf1b

Browse files
authored
Merge pull request #199241 from Homebrew/gnupg-pkgconf
gnupg [email protected]: migrate to `pkgconf`
2 parents 41b0528 + 046af0c commit 615bf1b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Formula/g/gnupg.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Gnupg < Formula
1919
sha256 x86_64_linux: "861b48d7bc2aa8e2a81f6c300d425ff2453ffb5bc948bc58cf1bdf1d93bd13ec"
2020
end
2121

22-
depends_on "pkg-config" => :build
22+
depends_on "pkgconf" => :build
2323
depends_on "gnutls"
2424
depends_on "libassuan"
2525
depends_on "libgcrypt"

Formula/g/[email protected]

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class GnupgAT22 < Formula
2323

2424
disable! date: "2025-04-01", because: :versioned_formula
2525

26-
depends_on "pkg-config" => :build
26+
depends_on "pkgconf" => :build
2727
depends_on "gnutls"
2828
depends_on "libassuan"
2929
depends_on "libgcrypt"
@@ -46,14 +46,13 @@ def install
4646
libusb = Formula["libusb"]
4747
ENV.append "CPPFLAGS", "-I#{libusb.opt_include}/libusb-#{libusb.version.major_minor}"
4848

49-
system "./configure", "--disable-dependency-tracking",
50-
"--disable-silent-rules",
51-
"--prefix=#{prefix}",
49+
system "./configure", "--disable-silent-rules",
5250
"--sbindir=#{bin}",
5351
"--sysconfdir=#{etc}",
5452
"--enable-all-tests",
5553
"--enable-symcryptrun",
56-
"--with-pinentry-pgm=#{Formula["pinentry"].opt_bin}/pinentry"
54+
"--with-pinentry-pgm=#{Formula["pinentry"].opt_bin}/pinentry",
55+
*std_configure_args
5756
system "make"
5857
system "make", "check"
5958
system "make", "install"

0 commit comments

Comments
 (0)