<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -46,7 +46,11 @@ else
 end
 
 if MACOS_VERSION &gt;= 10.6 or ENV['HOMEBREW_USE_LLVM']
-  ENV['PATH'] = &quot;/Developer/usr/llvm-gcc-4.2/bin:#{ENV['PATH']}&quot;
+  # you can install Xcode wherever you like you know.
+  prefix = `/usr/bin/xcode-select -print-path`.chomp
+  prefix = &quot;/Developer&quot; if prefix.to_s.empty?
+
+  ENV['PATH'] = &quot;#{prefix}/usr/llvm-gcc-4.2/bin:#{ENV['PATH']}&quot;
   ENV['CC'] = 'llvm-gcc-4.2'
   ENV['CXX'] = 'llvm-g++-4.2'
   cflags = ['-O4'] # O4 baby!</diff>
      <filename>Library/Homebrew/brewkit.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c2f8494b2b9bfac9e071ef184a45d558d84a88fd</id>
    </parent>
  </parents>
  <author>
    <name>Max Howell</name>
    <email>max@methylblue.com</email>
  </author>
  <url>http://github.com/psi/homebrew/commit/c2fbc971000e8e4628bb63e835bf1cebba9544c8</url>
  <id>c2fbc971000e8e4628bb63e835bf1cebba9544c8</id>
  <committed-date>2009-10-08T16:09:05-07:00</committed-date>
  <authored-date>2009-10-08T15:40:31-07:00</authored-date>
  <message>Determine LLVM location programmatically

Xcode can be installed anywhere, not just /Developer.</message>
  <tree>68ac4feb3a1266e1fbd9522c54a14f1787d93301</tree>
  <committer>
    <name>Max Howell</name>
    <email>max@methylblue.com</email>
  </committer>
</commit>
