summaryrefslogtreecommitdiff
path: root/devel/py-cibuildwheel/files/patch-cibuildwheel_architecture.py
blob: fe7bd19d3ac78f7c335471c9ad25ae30d2d77edd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- cibuildwheel/architecture.py.orig	2025-03-31 08:32:45 UTC
+++ cibuildwheel/architecture.py
@@ -87,7 +87,11 @@ class Architecture(Enum):
         host_platform: PlatformName = (
             "windows"
             if sys.platform.startswith("win")
-            else ("macos" if sys.platform.startswith("darwin") else "linux")
+            else (
+                "macos" if sys.platform.startswith("darwin") else (
+                    "freebsd" if sys.platform.startswith("freebsd") else "linux"
+                )
+             )
         )
 
         native_machine = platform_module.machine()