aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorCamillo Lugaresi2012-11-14 14:08:34 -0600
committerJack Nagel2012-11-19 22:04:04 -0600
commit5e39ce44fe3dfe8532d7008c66497f86d3b007b6 (patch)
tree6071becd0d7758f54ade0c0416e46d3d1b38bb2c /Library/Homebrew/extend
parentcf7f0f250f3c5c8065f222cf15e0b1ad402519ae (diff)
downloadbrew-5e39ce44fe3dfe8532d7008c66497f86d3b007b6.tar.bz2
separate ENV/pkgconfig dirs by OS version
Closes Homebrew/homebrew#16063. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index d342a200b..668fd29bd 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -67,8 +67,8 @@ module HomebrewEnvExtension
paths = []
paths << HOMEBREW_PREFIX/'lib/pkgconfig'
paths << HOMEBREW_PREFIX/'share/pkgconfig'
- paths << HOMEBREW_REPOSITORY/'Library/ENV/pkgconfig' if MacOS.version >= :mountain_lion
- paths << HOMEBREW_REPOSITORY/'Library/ENV/pkgconfigLeopard' if MacOS.version <= :leopard
+ paths << HOMEBREW_REPOSITORY/'Library/ENV/pkgconfig/mountain_lion' if MacOS.version >= :mountain_lion
+ paths << HOMEBREW_REPOSITORY/'Library/ENV/pkgconfig/leopard' if MacOS.version <= :leopard
paths << '/usr/lib/pkgconfig'
paths.select { |d| File.directory? d }.join(':')
end