opnsense-ports/devel/electron22/files/patch-third__party_node_node.py
Franco Fichtner d016c42591 */*: sync with upstream
Taken from: FreeBSD
2023-01-30 10:59:54 +01:00

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()])