From dab85bdc066f4fb8cbf1ca5db5d0254898edb7d7 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Tue, 12 Mar 2024 01:42:51 +0800 Subject: [PATCH] tools: install manpage to share/man for FreeBSD FreeBSD now install manpages to share/man/ instead of man/. Refs: https://cgit.freebsd.org/ports/commit/?id=003a571d1d6585196545295efc181514f171c4c4 Refs: https://cgit.freebsd.org/ports/commit/?id=99ea45a72a2800fc90e98ee225a42c3e88da8602 Refs: https://cgit.freebsd.org/ports/commit/?id=94cb251581ce0b94a40dee0728884367c3a4a82d PR-URL: https://github.com/nodejs/node/pull/51791 Reviewed-By: Luigi Pinca Reviewed-By: Yagiz Nizipli Reviewed-By: Richard Lau --- tools/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.py b/tools/install.py index 8f816dc1c1ed50..bf54249b66c0d4 100755 --- a/tools/install.py +++ b/tools/install.py @@ -182,7 +182,7 @@ def files(options, action): action(options, [os.path.join(options.v8_dir, 'tools/gdbinit')], 'share/doc/node/') action(options, [os.path.join(options.v8_dir, 'tools/lldb_commands.py')], 'share/doc/node/') - if 'freebsd' in sys.platform or 'openbsd' in sys.platform: + if 'openbsd' in sys.platform: action(options, ['doc/node.1'], 'man/man1/') else: action(options, ['doc/node.1'], 'share/man/man1/')