diff options
| author | Max Howell | 2012-09-03 12:30:21 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-03 15:12:30 -0400 |
| commit | 849151536a456ad34947dee48aba7fa7a4d33cc6 (patch) | |
| tree | 1dd19582185b9058e39b19717d1f09e6d775060e /Library | |
| parent | 124d9309f0eda3735a759eb48043c3a0e629325c (diff) | |
| download | homebrew-849151536a456ad34947dee48aba7fa7a4d33cc6.tar.bz2 | |
Add NCLT SDK apache include directory to superenv
Fixes subversion compile issues for NCLT configurations with superenv, stdenv still broken (tough).
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/superenv.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb index bb8d7ea39..dad217be5 100644 --- a/Library/Homebrew/superenv.rb +++ b/Library/Homebrew/superenv.rb @@ -135,8 +135,11 @@ class << ENV paths = [] paths << "#{MacSystem.x11_prefix}/include/freetype2" if x11? paths << "#{sdk}/usr/include/libxml2" unless deps.include? 'libxml2' - # TODO prolly shouldn't always do this? - paths << "#{sdk}/System/Library/Frameworks/Python.framework/Versions/Current/include/python2.7" if MacSystem.xcode43_without_clt? + if MacSystem.xcode43_without_clt? + paths << "#{sdk}/usr/include/apache2" + # TODO prolly shouldn't always do this? + paths << "#{sdk}/System/Library/Frameworks/Python.framework/Versions/Current/include/python2.7" + end paths << "#{sdk}/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/" paths.to_path_s end |
