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 Homebrew/homebrew#14915.
master
Charlie Sharpsteen 2012-09-13 16:26:30 -07:00
parent 7bf51092df
commit eb23f257a5
1 changed files with 10 additions and 0 deletions

View File

@ -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'