Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

superenv: look for pc files under prefix, not repository

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
commit 9e5e43ba6e0bd4641d03fa6e92071e4e695cc7fa 1 parent 72bbc8b
@jacknagel jacknagel authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Library/Homebrew/superenv.rb
View
4 Library/Homebrew/superenv.rb
@@ -111,8 +111,8 @@ def determine_path
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
Please sign in to comment.
Something went wrong with that request. Please try again.