Add NCLT SDK apache include directory to superenv

Fixes subversion compile issues for NCLT configurations with superenv, stdenv still broken (tough).
This commit is contained in:
Max Howell 2012-09-03 12:30:21 -04:00
parent adc158412c
commit af06c75d72

View File

@ -135,8 +135,11 @@ class << ENV
paths = [] paths = []
paths << "#{MacSystem.x11_prefix}/include/freetype2" if x11? paths << "#{MacSystem.x11_prefix}/include/freetype2" if x11?
paths << "#{sdk}/usr/include/libxml2" unless deps.include? 'libxml2' paths << "#{sdk}/usr/include/libxml2" unless deps.include? 'libxml2'
if MacSystem.xcode43_without_clt?
paths << "#{sdk}/usr/include/apache2"
# TODO prolly shouldn't always do this? # TODO prolly shouldn't always do this?
paths << "#{sdk}/System/Library/Frameworks/Python.framework/Versions/Current/include/python2.7" if MacSystem.xcode43_without_clt? paths << "#{sdk}/System/Library/Frameworks/Python.framework/Versions/Current/include/python2.7"
end
paths << "#{sdk}/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/" paths << "#{sdk}/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/"
paths.to_path_s paths.to_path_s
end end