Permalink
Browse files

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.
  • Loading branch information...
1 parent 6c2120f commit 6ba5311ee033bf69c077732540f87af31bec34ee @Sharpie Sharpie committed with Dennis Luxen Sep 13, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 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'

0 comments on commit 6ba5311

Please sign in to comment.