1 --- node-v0.10.3-o/Makefile 2013-04-03 11:30:57.000000000 -0600
2 +++ node-v0.10.3/Makefile 2013-04-03 19:30:22.000000000 -0600
8 - $(PYTHON) tools/install.py $@ $(DESTDIR)
9 +install: all justinstall
12 + $(PYTHON) tools/install.py install $(DESTDIR) $(LIBDIR)
15 - $(PYTHON) tools/install.py $@ $(DESTDIR)
16 + $(PYTHON) tools/install.py $@ $(DESTDIR) $(LIBDIR)
19 -rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node blog.html email.md
20 --- node-v0.10.3-o/node.gyp 2013-04-03 11:30:57.000000000 -0600
21 +++ node-v0.10.3/node.gyp 2013-04-03 19:30:22.000000000 -0600
32 - 'tools/msvs/genfiles',
34 - '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
36 + [ 'node_shared_libuv=="false"', {
37 + 'dependencies': [ 'deps/uv/uv.gyp:libuv' ],
43 + # node.gyp is added to the project by default.
48 + 'NODE_WANT_INTERNALS=1',
49 + 'ARCH="<(target_arch)"',
54 + 'target_name': 'libnode',
55 + 'type': 'shared_library',
56 + 'product_extension': 'so.10.3.0',
57 + 'soname_version': '10.3.0',
58 + 'cflags': ['-fPIC'],
61 'src/fs_event_wrap.cc',
66 'src/node_http_parser.cc',
67 'src/node_javascript.cc',
71 'src/node_stat_watcher.cc',
78 + 'tools/msvs/genfiles',
80 + '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
88 'NODE_WANT_INTERNALS=1',
89 'ARCH="<(target_arch)"',
90 --- node-v0.10.3-o/tools/install.py 2013-04-03 11:30:57.000000000 -0600
91 +++ node-v0.10.3/tools/install.py 2013-04-03 19:31:32.000000000 -0600
93 assert(0) # unhandled action type
97 action(['out/Release/node'], 'bin/node')
98 + action(['out/Release/lib.target/libnode.so.10.3.0'], lib_dir + '/libnode.so.10.3.0')
100 # install unconditionally, checking if the platform supports dtrace doesn't
101 # work when cross-compiling and besides, there's at least one linux flavor
103 if 'true' == variables.get('node_install_npm'): npm_files(action)
106 - global dst_dir, node_prefix, target_defaults, variables
107 + global dst_dir, node_prefix, target_defaults, variables, lib_dir
109 # chdir to the project's top-level directory
110 os.chdir(abspath(os.path.dirname(__file__), '..'))
112 dst_dir = node_prefix = variables.get('node_prefix') or '/usr/local'
113 if len(args) > 2: dst_dir = abspath(args[2] + '/' + dst_dir)
116 + if len(args) > 3: lib_dir = args[3]
118 cmd = args[1] if len(args) > 1 else 'install'
119 if cmd == 'install': return files(install)
120 if cmd == 'uninstall': return files(uninstall)