From eb8b6330d3022ede760eced0a73da4b7fc148d58 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Thu, 13 Sep 2012 16:26:30 -0700 Subject: node: Depend on full XCode install Reverts commit bfc71f7. This is necessary due to an upstream bug with the GYP buildsystem that has no solid workaround: http://code.google.com/p/gyp/issues/detail?id=292 Fixes #14915. --- Library/Formula/node.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Library/Formula/node.rb') diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index 4a9913700..a42f515fd 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -54,6 +54,16 @@ class Node < Formula depends_on NpmNotInstalled.new unless build.include? 'without-npm' depends_on PythonVersion.new + # There is a bug with the GYP buildsystem that prevents Node from compiling + # on CLT-only systems with unset `xcode-select` paths: + # + # http://code.google.com/p/gyp/issues/detail?id=292 + # + # See the following issue for more info: + # + # joyent/node#3681 + depends_on :xcode + option 'enable-debug', 'Build with debugger hooks' option 'without-npm', 'npm will not be installed' -- cgit v1.2.3