diff options
| author | Max Howell | 2012-09-03 12:30:21 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-03 15:12:30 -0400 |
| commit | af06c75d72fe9c3c9f928b1480a5444746d93bd7 (patch) | |
| tree | cb0ec710d8b93f6c03b140c215f9bec783db258a /Library | |
| parent | adc158412c3dfddcbd249288e2fbf398d518a9a5 (diff) | |
| download | brew-af06c75d72fe9c3c9f928b1480a5444746d93bd7.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 |
