diff options
| author | Jack Nagel | 2012-08-30 16:08:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-30 16:08:24 -0500 |
| commit | a4ccf68602ed7ed65dae9c517c9a957a771dd75e (patch) | |
| tree | 74533991653165ac7f8bcec8240cc5497f58cbeb /Library | |
| parent | 8f299d9779b5f1f339186f0b9d7c5fa6bcd8e73a (diff) | |
| download | brew-a4ccf68602ed7ed65dae9c517c9a957a771dd75e.tar.bz2 | |
superenv: look for pc files under prefix, not repository
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/superenv.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb index 9300d39f8..46e6bafa0 100644 --- a/Library/Homebrew/superenv.rb +++ b/Library/Homebrew/superenv.rb @@ -111,8 +111,8 @@ class << ENV def determine_pkg_config_path paths = deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/lib/pkgconfig" } paths += deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/share/pkgconfig" } - paths << "#{HOMEBREW_REPOSITORY}/lib/pkgconfig" - paths << "#{HOMEBREW_REPOSITORY}/share/pkgconfig" + paths << "#{HOMEBREW_PREFIX}/lib/pkgconfig" + paths << "#{HOMEBREW_PREFIX}/share/pkgconfig" # we put our paths before X because we dupe some of the X libraries paths << "#{MacSystem.x11_prefix}/lib/pkgconfig" << "#{MacSystem.x11_prefix}/share/pkgconfig" if x11? # Mountain Lion no longer ships some .pcs; ensure we pick up our versions |
