Skip to content

Commit b427f92

Browse files
committed
qt@5: migrate to pkgconf
1 parent 0668d3f commit b427f92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/q/[email protected]

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class QtAT5 < Formula
2929
keg_only :versioned_formula
3030

3131
depends_on "node" => :build
32-
depends_on "pkg-config" => :build
32+
depends_on "pkgconf" => :build
3333
depends_on "[email protected]" => :build # Python 3.13 fails with ModuleNotFoundError: No module named 'pipes'
3434
depends_on xcode: :build
3535
depends_on "freetype"
@@ -284,7 +284,7 @@ def install
284284
# Remove reference to shims directory
285285
inreplace prefix/"mkspecs/qmodule.pri",
286286
/^PKG_CONFIG_EXECUTABLE = .*$/,
287-
"PKG_CONFIG_EXECUTABLE = #{Formula["pkg-config"].opt_bin}/pkg-config"
287+
"PKG_CONFIG_EXECUTABLE = #{Formula["pkgconf"].opt_bin}/pkg-config"
288288

289289
# Fix find_package call using QtWebEngine version to find other Qt5 modules.
290290
inreplace lib.glob("cmake/Qt5WebEngine*/*Config.cmake"),

0 commit comments

Comments
 (0)