mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 04:19:17 -04:00
- The port now uses the combined patch set for OpenBSD and FreeBSD maintained by Robert Nagy. - Fix build on i386 again. Obtained from: Robert Nagy <robert@openbsd.org> Security: https://vuxml.freebsd.org/freebsd/e12432af-8e73-11ec-8bc4-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/e852f43c-846e-11ec-b043-3065ec8fd3ec.html
11 lines
473 B
Python
11 lines
473 B
Python
--- third_party/node/node.py.orig 2022-02-07 13:39:41 UTC
|
|
+++ third_party/node/node.py
|
|
@@ -16,6 +16,8 @@ def GetBinaryPath():
|
|
return os_path.join(os_path.dirname(__file__), *{
|
|
'Darwin': ('mac', darwin_name, 'bin', 'node'),
|
|
'Linux': ('linux', 'node-linux-x64', 'bin', 'node'),
|
|
+ 'OpenBSD': ('openbsd', 'node-openbsd', 'bin', 'node'),
|
|
+ 'FreeBSD': ('freebsd', 'node-freebsd', 'bin', 'node'),
|
|
'Windows': ('win', 'node.exe'),
|
|
}[platform.system()])
|
|
|