--- wscript.orig 2011-04-02 11:24:56.000000000 +0800 +++ wscript 2011-04-02 11:25:54.000000000 +0800 @@ -905,8 +905,6 @@ # Only install the man page if it exists. # Do 'make doc install' to build and install it. - if os.path.exists('doc/node.1'): - bld.install_files('${PREFIX}/share/man/man1/', 'doc/node.1') bld.install_files('${PREFIX}/bin/', 'tools/node-waf', chmod=0755) bld.install_files('${LIBDIR}/node/wafadmin', 'tools/wafadmin/*.py') @@ -918,7 +916,7 @@ node_conf.target = 'tools/nodejs.pc' node_conf.dict = subflags(node) - bld.install_files('${LIBDIR}/pkgconfig', 'tools/nodejs.pc') + bld.install_files('${PREFIX}/libdata/pkgconfig', 'tools/nodejs.pc') def shutdown(): Options.options.debug