diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2012-12-19 13:02:54 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2012-12-19 13:05:12 +0400 |
commit | 3e567218b60d7f885e769e1a2a07d84d38f11c13 (patch) | |
tree | f43668e026c492f304f4c827fc4b567ca85b1963 /examples/nodejs/patches/02-rename-node-to-nodejs.patch | |
parent | fdcf880b3c8c67f08453f553474a551e9707d29d (diff) | |
download | cibs-3e567218b60d7f885e769e1a2a07d84d38f11c13.tar.gz |
Update examples
Diffstat (limited to 'examples/nodejs/patches/02-rename-node-to-nodejs.patch')
-rw-r--r-- | examples/nodejs/patches/02-rename-node-to-nodejs.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/examples/nodejs/patches/02-rename-node-to-nodejs.patch b/examples/nodejs/patches/02-rename-node-to-nodejs.patch new file mode 100644 index 0000000..8e6c9e5 --- /dev/null +++ b/examples/nodejs/patches/02-rename-node-to-nodejs.patch @@ -0,0 +1,34 @@ +diff -dubr source/doc/node.1 rename/doc/node.1 +--- source/doc/node.1 2012-10-26 00:49:56.000000000 +0400 ++++ rename/doc/node.1 2012-11-01 21:57:48.271896703 +0400 +@@ -2,12 +2,12 @@ + + + .SH "NAME" +-node \- Server-side JavaScript ++nodejs \- Server-side JavaScript + + .SH SYNOPSIS + + +-.B node ++.B nodejs + [ + .B \-v + ] +diff -dubr source/tools/wafadmin/Tools/node_addon.py rename/tools/wafadmin/Tools/node_addon.py +--- source/tools/wafadmin/Tools/node_addon.py 2012-10-26 00:49:32.000000000 +0400 ++++ rename/tools/wafadmin/Tools/node_addon.py 2012-11-01 21:59:05.441880615 +0400 +@@ -26,10 +26,10 @@ + conf.env['PREFIX_NODE'] = get_prefix() + prefix = conf.env['PREFIX_NODE'] + lib = join(prefix, 'lib') +- nodebin = join(prefix, 'bin', 'node') ++ nodebin = join(prefix, 'bin', 'nodejs') + + conf.env['LIBPATH_NODE'] = lib +- conf.env['CPPPATH_NODE'] = join(prefix, 'include', 'node') ++ conf.env['CPPPATH_NODE'] = join(prefix, 'include', 'nodejs') + + conf.env.append_value('CPPFLAGS_NODE', '-D_GNU_SOURCE') + |