Skip to content

Commit 04d1747

Browse files
committed
formula_auditor: allow pkg-config alias for pkgconf migration
1 parent 702bfe1 commit 04d1747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Homebrew/formula_auditor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def audit_deps
362362
end
363363

364364
# we want to allow uses_from_macos for aliases but not bare dependencies
365-
if self.class.aliases.include?(dep.name) && !dep.uses_from_macos?
365+
if self.class.aliases.include?(dep.name) && !dep.uses_from_macos? && dep.name != "pkg-config"
366366
problem "Dependency '#{dep.name}' is an alias; use the canonical name '#{dep.to_formula.full_name}'."
367367
end
368368

0 commit comments

Comments
 (0)