You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
diff --git a/wscript b/wscript
index 51bde44..e0c6653 100644
--- a/wscript+++ b/wscript@@ -959,7 +959,8 @@ def build(bld):
# 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')+ prefix = 'bsd' in sys.platform and '${PREFIX}' or '${PREFIX}/share'+ bld.install_files(prefix + '/man/man1/', 'doc/node.1')
bld.install_files('${PREFIX}/bin/', 'tools/node-waf', chmod=0755)
bld.install_files('${LIBDIR}/node/wafadmin', 'tools/wafadmin/*.py')
It installs to /usr/local/share/man/man1 but in FreeBSD the directory is /usr/local/man/man1.
The text was updated successfully, but these errors were encountered: