aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-02-14 17:39:37 -0600
committerJack Nagel2012-02-14 17:39:37 -0600
commit4e1014e62a3b0dac75a46d91b83de73ddcb826f1 (patch)
treecc0d5e12ff5d14bd75b44c6c18a14339cf23cec3 /Library/Formula
parent308859ffb46ba4071768bf168d57b8a87cc02c1b (diff)
downloadhomebrew-4e1014e62a3b0dac75a46d91b83de73ddcb826f1.tar.bz2
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pkg-config.rb1
1 files changed, 1 insertions, 0 deletions
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