aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-02-01 18:40:25 -0800
committerAdam Vandenberg2013-02-01 18:40:25 -0800
commite3ca3099c97ec26c66331c2100eaee87a1125092 (patch)
tree1848978a363bc0ccf797b68b4d88b69d3e9da711 /Library/Formula
parentc82d57eea1d7f5027775bf9cf753c0b14f36337e (diff)
downloadhomebrew-e3ca3099c97ec26c66331c2100eaee87a1125092.tar.bz2
v8: apply fix for gyp without Xcode from node
Closes #17484 probably.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/v8.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/v8.rb b/Library/Formula/v8.rb
index 188bcaeeb..f4e04ced1 100644
--- a/Library/Formula/v8.rb
+++ b/Library/Formula/v8.rb
@@ -9,6 +9,12 @@ class V8 < Formula
head 'https://github.com/v8/v8.git'
def install
+ # Lie to `xcode-select` for now to work around a GYP bug that affects
+ # CLT-only systems:
+ #
+ # http://code.google.com/p/gyp/issues/detail?id=292
+ ENV['DEVELOPER_DIR'] = MacOS.dev_tools_path unless MacOS::Xcode.installed?
+
system 'make dependencies'
system 'make', 'native',
"-j#{ENV.make_jobs}",