opnsense-ports/devel/electron32/files/patch-third__party_node_node.py
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

11 lines
479 B
Python

--- third_party/node/node.py.orig 2024-08-14 20:55:59 UTC
+++ third_party/node/node.py
@@ -20,6 +20,8 @@ def GetBinaryPath():
return os_path.join(os_path.dirname(__file__), *{
'Darwin': (darwin_path, 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()])