From 6179459747b84652e665b54dd905e61ca94b4d66 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 1 Feb 2013 18:40:25 -0800 Subject: [PATCH] v8: apply fix for gyp without Xcode from node Closes Homebrew/homebrew#17484 probably. --- Formula/v8.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Formula/v8.rb b/Formula/v8.rb index 188bcaeebd..f4e04ced18 100644 --- a/Formula/v8.rb +++ b/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}",