aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-09-13 16:26:30 -0700
committerCharlie Sharpsteen2012-09-13 16:31:29 -0700
commiteb8b6330d3022ede760eced0a73da4b7fc148d58 (patch)
tree8fc6e207cc2e2f22e76aa0740840b1678efbeae2 /Library
parente5916e8923f1a0bd2ba8750c813d85b674bd9dfc (diff)
downloadhomebrew-eb8b6330d3022ede760eced0a73da4b7fc148d58.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/node.rb10
1 files changed, 10 insertions, 0 deletions
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'