From af06c75d72fe9c3c9f928b1480a5444746d93bd7 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Mon, 3 Sep 2012 12:30:21 -0400 Subject: [PATCH] Add NCLT SDK apache include directory to superenv Fixes subversion compile issues for NCLT configurations with superenv, stdenv still broken (tough). --- Library/Homebrew/superenv.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb index bb8d7ea396..dad217be5d 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