From 4e1014e62a3b0dac75a46d91b83de73ddcb826f1 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 14 Feb 2012 17:39:37 -0600 Subject: pkg-config: add share/pkgconfig to pc-path According to the pkg-config docs, share/pkgconfig is also a valid location for pc files, and a few packages in Homebrew insist on sticking them there. Rather than patch these packages individually, just add HOMEBREW_PREFIX/share/pkgconfig to the default pc file search path. Fixes #10182. Signed-off-by: Jack Nagel --- Library/Formula/pkg-config.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Formula') diff --git a/Library/Formula/pkg-config.rb b/Library/Formula/pkg-config.rb index 1d0fe3f04..f3b43c594 100644 --- a/Library/Formula/pkg-config.rb +++ b/Library/Formula/pkg-config.rb @@ -15,6 +15,7 @@ class PkgConfig < Formula paths = %W[ #{HOMEBREW_PREFIX}/lib/pkgconfig + #{HOMEBREW_PREFIX}/share/pkgconfig /usr/local/lib/pkgconfig /usr/lib/pkgconfig /usr/X11/lib/pkgconfig -- cgit v1.2.3