summary refs log tree commit diff
path: root/pkgs/development/web/nodejs/no-xcodebuild.patch
blob: 94184152a03b983cfdf8126deef31fddc496a773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Naur node-v8.9.4/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py node-v8.9.4-new/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
--- node-v8.9.4/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py	2018-01-03 03:34:44.000000000 +0100
+++ node-v8.9.4-new/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py	2018-03-12 11:15:37.972537585 +0100
@@ -1251,7 +1251,8 @@
   if XCODE_VERSION_CACHE:
     return XCODE_VERSION_CACHE
   try:
-    version_list = GetStdout(['xcodebuild', '-version']).splitlines()
+    #version_list = GetStdout(['xcodebuild', '-version']).splitlines()
+    version_list = ['Xcode 9.2', 'Build version 9C40b']
     # In some circumstances xcodebuild exits 0 but doesn't return
     # the right results; for example, a user on 10.7 or 10.8 with
     # a bogus path set via xcode-select