ports/devel/electron28/files/patch-electron_script_lib_config.py
Hiroki Tagato 3b99ec07e0 devel/electron{25,27,28,29,30}: fix build on FreeBSD 15-current
While here, remove support for obsolete FreeBSD 12.

Reported by:	arrowd (via email)
2024-06-13 16:23:25 +09:00

12 lines
336 B
Python

--- electron/script/lib/config.py.orig 2024-05-23 09:03:24 UTC
+++ electron/script/lib/config.py
@@ -8,6 +8,9 @@ PLATFORM = {
'cygwin': 'win32',
'msys': 'win32',
'darwin': 'darwin',
+ 'freebsd13': 'freebsd',
+ 'freebsd14': 'freebsd',
+ 'freebsd15': 'freebsd',
'linux': 'linux',
'linux2': 'linux',
'win32': 'win32',